我最近通过安装 1T 驱动器升级了家庭服务器,现在我想将旧驱动器连接到系统。我该怎么做?我知道旧驱动器有 2 个 ext2 分区,大约 500GB,在此列表中显示为 sda2。
lsblk shows sda2 mounted to boot
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 1M 0 part
├─sda2 8:2 0 1G 0 part /boot
└─sda3 8:3 0 930.5G 0 part
└─ubuntu--vg-ubuntu--lv 253:0 0 930.5G 0 lvm /
brw-rw---- 1 root disk 8, 16 Jun 3 13:39 /dev/sdb
fstab:
UUID=1f744f7a-55e7-4c52-ab5e-239bfac6ebe2 / ext4 defaults 0 0
UUID=0d9de09a-0c0a-49d3-8b14-581ffb4da1a0 /boot ext4 defaults 0 0
fdisk -l:
Disk /dev/sdb: 465.8 GiB, 500106780160 bytes, 976771055 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000
Device Boot Start End Sectors Size Id Type
/dev/sdb1 1 976773167 976773167 465.8G ee GPT
mount -a -t ext2 /dev/sdb /media/old_drive/
mount the drive but not its partitions
ls -la /media/old_drive/
total 8
drwxr-xr-x 2 root root 4096 Jun 2 09:34 .
drwxr-xr-x 3 root root 4096 Jun 2 09:34 ..
我不知道接下来该去哪里:(
米克