jobart08 |
10-28-2014 02:07 AM |
Multipath newbie
I was trying to configure a multipath storage to a debian server. I was using mkfs and parted. I got lost along the way and ended up with this
Code:
root@BDOULXU472:/dev/mapper# parted -l
Model: HP LOGICAL VOLUME (scsi)
Disk /dev/sda: 147GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
1 262kB 20.0GB 20.0GB primary ext4 boot
2 20.0GB 147GB 127GB extended
5 20.0GB 40.0GB 20.0GB logical ext4
6 40.0GB 50.0GB 10000MB logical ext4
7 50.0GB 60.0GB 10000MB logical linux-swap(v1)
8 60.0GB 147GB 86.8GB logical ext4
Error: /dev/sdb: unrecognised disk label
Error: /dev/sdc: unrecognised disk label
Error: /dev/sdd: unrecognised disk label
Error: /dev/sde: unrecognised disk label
Error: /dev/sdf: unrecognised disk label
Error: /dev/mapper/mpathd: unrecognised disk label
Error: /dev/mapper/mpathc: unrecognised disk label
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpathb: 1979GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Number Start End Size Type File system Flags
Warning: Unable to open /dev/sr0 read-write (Read-only file system). /dev/sr0
has been opened read-only.
Model: hp DVD-ROM DU90N (scsi)
Disk /dev/sr0: 666MB
Sector size (logical/physical): 2048B/2048B
Partition Table: mac
Number Start End Size File system Name Flags
1 8192B 24.6kB 16.4kB Apple
2 15.9MB 17.7MB 1835kB EFI
Error: /dev/sdg: unrecognised disk label
Error: /dev/sdh: unrecognised disk label
Error: /dev/sdi: unrecognised disk label
Error: /dev/sdj: unrecognised disk label
Error: /dev/sdk: unrecognised disk label
Error: /dev/sdl: unrecognised disk label
Error: /dev/sdm: unrecognised disk label
My question is, how do I delete the partition table on /dev/mapper/mpathb?
It says
Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/mpathb: 1979GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Thanks
|