Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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):
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
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
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)
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?
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
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).
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.....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.