有一台主機redhat 5.x已有一組raid-1的disk,用LVM管理(前人做的)
後來新增2個disk,做成第2個raid-1,在linux看到是/dev/sdb
已經切成/dev/sdb1,並format了
以下是fdisk -l的訊息
Disk /dev/sdb: 999.9 GB, 999999668224 bytes
255 heads, 63 sectors/track, 121576 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 121576 976559188+ 83 Linux
Disk /dev/dm-2: 999.9 GB, 999999668224 bytes
255 heads, 63 sectors/track, 121576 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/dm-2p1 1 121576 976559188+ 83 Linux
Disk /dev/dm-3: 999.9 GB, 999996609024 bytes
255 heads, 63 sectors/track, 121575 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/dm-3 doesn't contain a valid partition table
https://imgur.com/3nt17Se.jpg
但要mount時,就是有這訊息
# mount /dev/sdb1 /u03
mount: /dev/sdb1 already mounted or /u03 busy
# dmsetup ls
mpath5p1 (253, 3)
VolGroup00-LogVol01 (253, 1)
mpath5 (253, 2)
VolGroup00-LogVol00 (253, 0)
https://imgur.com/8XwDy4N.jpg
/dev/dm-2跟/dev/dm-3 都是系統自己生出來的
用LVM GUI介面對/dev/sdb做initilize 也不行,說已在使用 (我linux的LVM不是很熟)
google一些文件後,是否要把multipath移除 ?
1.才能直接mount /dev/sdb1
2.或是加到LVM管理