|
服务器硬盘坏了,joe给换了个新的,然后把坏的挂载为从盘,让我自己转移数据,我tm什么都不会,只好边问边学。
[root@server ~]# fdisk -l
Disk /dev/sda: 251.0 GB, 251000193024 bytes
255 heads, 63 sectors/track, 30515 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 535 4192965 82 Linux swap / Solaris
/dev/sda3 536 30515 240814350 83 Linux
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux
/dev/sdb2 14 30401 244091610 8e Linux LVM
[root@server ~]#
[root@server ~]# mkdir /mnt/hda1
[root@server ~]# mount /dev/sdb1 /mnt/hda1
[root@server ~]# mkdir /mnt/hda2
[root@server ~]# mount /dev/sdb2 /mnt/hda2
mount:
you must specify the filesystem type
[root@server ~]# vgscan
Reading all physical volumes. This may take a while...
Found volume group "VolGroup00" using metadata type lvm2
[root@server ~]# vgchange -ay
2 logical volume(s) in volume group "VolGroup00" now active
[root@server ~]# lvscan
ACTIVE '/dev/VolGroup00/LogVol00' [228.84 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [3.94 GB] inherit
[root@server ~]# mount /dev/sdb2 /mnt/hda2
mount:
/dev/sdb2 already mounted or /mnt/hda2 busy
[root@server ~]#
带颜色的那里存在疑问 |
|