新裝的硬碟無法mount - Linux
By Carol
at 2021-10-24T23:13
at 2021-10-24T23:13
Table of Contents
有一台主機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管理
--
後來新增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管理
--
Tags:
Linux
All Comments
By Lily
at 2021-10-28T06:43
at 2021-10-28T06:43
By Anonymous
at 2021-10-31T14:12
at 2021-10-31T14:12
By Yuri
at 2021-10-30T11:06
at 2021-10-30T11:06
By Eden
at 2021-11-02T18:36
at 2021-11-02T18:36
Related Posts
請問音樂都不會預設附有replaygain嗎?
By Lauren
at 2021-10-23T16:00
at 2021-10-23T16:00
如何讓nvme安裝nvme?
By Hazel
at 2021-10-22T19:48
at 2021-10-22T19:48
USB 裝置中的 exe file
By Delia
at 2021-10-22T06:32
at 2021-10-22T06:32
大量的資料夾名稱修改
By Annie
at 2021-10-21T20:21
at 2021-10-21T20:21
如果要GPU直通要怎麼選主機板
By Isla
at 2021-10-21T08:41
at 2021-10-21T08:41