LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-28-2014, 03:07 AM   #1
jobart08
Member
 
Registered: Sep 2014
Posts: 68

Rep: Reputation: Disabled
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
 
Old 10-28-2014, 04:18 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,475

Rep: Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424Reputation: 2424
I think you do not need to delete that just create a new one (which will overwrite everything)
 
  


Reply

Tags
multipath


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
multipath kefer Linux - Server 2 02-09-2012 10:44 AM
problem with multipath m2mthu Linux - Server 2 10-29-2009 09:25 PM
dm-multipath earlysame55 Red Hat 3 05-09-2009 02:59 PM


All times are GMT -5. The time now is 06:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration