LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-30-2010, 02:40 PM   #1
emailbuilder88
LQ Newbie
 
Registered: May 2005
Posts: 23

Rep: Reputation: 1
msdos partition table.... bad? ok? (understanding parted output)


Hello,

I am looking at a RHEL system built by a windows admin and parted output tells me the partition table is msdos format (I guess?). I am uncertain if this could be a problem (is it like formatting a disk in WinXP as old DOS format instead of NTFS? will it fail to support large files? or is this completely different?). Sorry if this should be in the newbie forum(?). Here is the parted output (I think the error about /dev/md0 is because that's the RAID 1 device - is that OK to ignore?):

Code:
parted -l
Error: Unable to open /dev/md0 - unrecognised disk label.                 

Model: Compaq Smart Array (cpqarray)
Disk /dev/cciss/c0d0: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End    Size   Type     File system  Flags
 1      32.3kB  107MB  107MB  primary  ext3         boot 
 2      107MB   500GB  500GB  primary               lvm

Last edited by emailbuilder88; 04-30-2010 at 02:42 PM.
 
Old 04-30-2010, 02:50 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
I am looking at a RHEL system built by a windows admin....
Say no more--you are in big trouble.....

Seriously (to the extent that's possible on Friday afternoon):
The format of the partition table is pretty much standard. If I am not mistaken in goes back to the earliest days of the "PC". (Which of course was synonymous with msdos.)

Assuming you are running on RHEL, please post the results of these commands (running as root):

fdisk -l
cat /etc/fstab
mount
 
Old 04-30-2010, 03:00 PM   #3
emailbuilder88
LQ Newbie
 
Registered: May 2005
Posts: 23

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by pixellany View Post
Say no more--you are in big trouble.....


Quote:
Originally Posted by pixellany View Post
Seriously (to the extent that's possible on Friday afternoon):
The format of the partition table is pretty much standard. If I am not mistaken in goes back to the earliest days of the "PC". (Which of course was synonymous with msdos.)
Ah, OK. So then most people see that? Good. I hadn't ever used parted, and now that I go do the same thing on some other systems, I see they are all "msdos". OK. Whew. (in fact, is there rhyme or reason to using parted versus fdisk, etc? Sorry this is a newbie question...)

Quote:
Originally Posted by pixellany View Post
Assuming you are running on RHEL, please post the results of these commands (running as root):

fdisk -l
Code:
fdisk -l

Disk /dev/cciss/c0d0: 500.0 GB, 500074307584 bytes
255 heads, 63 sectors/track, 60797 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Quote:
Originally Posted by pixellany View Post
cat /etc/fstab
Code:
cat /etc/fstab 
/dev/VolGroup00/LogVol01 /                       ext3    defaults        1 1
LABEL=/boot             /boot                   ext3    defaults        1 2
tmpfs                   /dev/shm                tmpfs   defaults        0 0
devpts                  /dev/pts                devpts  gid=5,mode=620  0 0
sysfs                   /sys                    sysfs   defaults        0 0
proc                    /proc                   proc    defaults        0 0
/dev/VolGroup00/LogVol00 swap                    swap    defaults        0 0

Quote:
Originally Posted by pixellany View Post
mount
Code:
 mount
/dev/mapper/VolGroup00-LogVol01 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/cciss/c0d0p1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
THANK YOU for such a quick reply!
 
Old 04-30-2010, 03:07 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
OK--LVM

But it's on some kind of RAID?

parted shows partitions on /dev/cciss/c0d0, but fdisk does not? I'd check that again...

Do we know the physical configuration?---i.e. Do you know how many physical drives there are and whether there is in fact a RAID?
 
Old 04-30-2010, 03:09 PM   #5
emailbuilder88
LQ Newbie
 
Registered: May 2005
Posts: 23

Original Poster
Rep: Reputation: 1
Although my specialty is certainly not linux partition management, it seems like this is a fairly standard setup, yeah? parted complains about /dev/md0, but nowhere else does it show up, so I assume parted just doesn't know about RAID setups.

If I'm correct, it looks like this is a 500GB drive that was just dumped into a LVM volume in its entirety (yikes). I'd like to partition it up a little bit; should I just resize the LVM volume and create a new LVM volume next to it and not worry about fdisk/parted to create physical partitions?

If I start messing with physical partitions or LVM volumes, will any changes I make get reflected automatically on the RAID 1 mirror in the machine?

Thanks again!
 
Old 04-30-2010, 03:11 PM   #6
emailbuilder88
LQ Newbie
 
Registered: May 2005
Posts: 23

Original Poster
Rep: Reputation: 1
Oops, I replied too quickly. Didn't see your response.

Quote:
Originally Posted by pixellany View Post
OK--LVM

But it's on some kind of RAID?
Yes, RAID 1, although I don't know much about the hardware (assuming it's not software RAID, maybe there's a way to figure that out?)

Quote:
Originally Posted by pixellany View Post
parted shows partitions on /dev/cciss/c0d0, but fdisk does not? I'd check that again...
Hmmm, how would one go about that?

Quote:
Originally Posted by pixellany View Post
Do we know the physical configuration?---i.e. Do you know how many physical drives there are and whether there is in fact a RAID?
Yes, it's supposedly set up with two 500GB hard disks in RAID 1.

THANK YOU!
 
Old 04-30-2010, 03:15 PM   #7
emailbuilder88
LQ Newbie
 
Registered: May 2005
Posts: 23

Original Poster
Rep: Reputation: 1
Sorry, my fdisk output wasn't complete. It shows that same device:

Code:
fdisk -l

Disk /dev/cciss/c0d0: 500.0 GB, 500074307584 bytes
255 heads, 63 sectors/track, 60797 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

           Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *           1          13      104391   83  Linux
/dev/cciss/c0d0p2              14       60797   488247480   8e  Linux LVM
 
Old 04-30-2010, 03:18 PM   #8
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
That's a relief!!

So, you've got LVM on a RAID---is it working OK?
 
Old 04-30-2010, 03:40 PM   #9
emailbuilder88
LQ Newbie
 
Registered: May 2005
Posts: 23

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by pixellany View Post
That's a relief!!

So, you've got LVM on a RAID---is it working OK?
Well, it's a brand new system, nothing much going on with it yet... but sure, it seems fine. Anything specific you are thinking or just wondering why I posted here? :-)

I'm just trying to size up this machine, make sure all is in order, and then figure out how to best partition the drive (see my earlier post on this thread).
 
Old 04-30-2010, 03:45 PM   #10
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Don't read too much into my comment---I may have simply forgotten the original question.....

My only serious comment is that I don't like RAID or LVM---they just make me think too much. I also know how to do long division---kinda just one of those weird people.....
 
Old 04-30-2010, 03:53 PM   #11
emailbuilder88
LQ Newbie
 
Registered: May 2005
Posts: 23

Original Poster
Rep: Reputation: 1
OK thank you!

I think it might be best to start a new thread with my partitioning questions with a more appropriate title.

Thanks again
 
  


Reply


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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Bad partition table Bill Jones Linux - Newbie 9 06-02-2006 02:08 PM
Bad Partition Table halflife28 Linux - Hardware 1 05-27-2006 11:56 PM
partition resizing using parted...bad memories of fdisk rextor Linux - General 1 07-30-2005 10:34 AM
Bad Partition Table? tommcfarlin4 Linux - Software 2 08-21-2004 11:03 AM
bad partition table thetruevoice Linux - Software 2 08-23-2001 04:34 AM


All times are GMT -5. The time now is 10:04 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration