Mount
試圖安裝輔助驅動器
美分 6 64 位
嘗試在最近的主驅動器硬碟驅動器故障之前在另一台伺服器上安裝以前使用的備份驅動器。
root@server097 [~]# fdisk -l Disk /dev/sda: 160.0 GB, 160041885696 bytes 255 heads, 63 sectors/track, 19457 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0003cb32 Device Boot Start End Blocks Id System /dev/sda1 * 1 64 512000 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 64 19458 155777024 8e Linux LVM Disk /dev/mapper/vg_server097-lv_root: 53.7 GB, 53687091200 bytes 255 heads, 63 sectors/track, 6527 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/vg_server097-lv_swap: 4227 MB, 4227858432 bytes 255 heads, 63 sectors/track, 514 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/mapper/vg_server097-lv_home: 101.6 GB, 101598625792 bytes 255 heads, 63 sectors/track, 12351 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 root@server097 [~]# mount /dev/sda2 /backup mount: unknown filesystem type 'LVM2_member'
我只想掛載 /dev/sda2 (這是輔助驅動器),但出現上述錯誤。我想把它掛載到 /backup
root@server097 [~]# pvscan PV /dev/sda2 VG vg_server097 lvm2 [148.56 GiB / 0 free] Total: 1 [148.56 GiB] / in use: 1 [148.56 GiB] / in no VG: 0 [0 ] root@server097 [~]# vgscan Reading all physical volumes. This may take a while... Found volume group "vg_server097" using metadata type lvm2 root@server097 [~]# lvscan ACTIVE '/dev/vg_server097/lv_root' [50.00 GiB] inherit ACTIVE '/dev/vg_server097/lv_home' [94.62 GiB] inherit ACTIVE '/dev/vg_server097/lv_swap' [3.94 GiB] inherit
/dev/sda2
是 LVM 組的一部分,您無法掛載它。您提供的任何其他證據都沒有表明存在另一個磁碟。根據 sda 的所有 LVM 卷/部分已安裝並正在使用
/proc/mounts