Re: raid 1 and df command



On Thursday 31 August 2006 17:04, ipyasaswi@xxxxxxxxx stood up and addressed
the masses in /comp.os.linux.misc/ as follows...:

I got a new server with four 80 GB disks. I create hardware raid 1
(mirroring) on first two disks. Then I created raid 1 (mirroring) on
second two disks. I installed Fedora 5 default install. After
installation from the command prompt, when I typed df -k I see a total
space of about 300 GB. How is that possible?
The OS should see only 160 GB right because the first disk is mirrored
to 2 disk and third disk is mirrored to fourth disk.
While booting up the the message does show two volume groups with 73 GB

Two groups of 73 GB sounds about right, because the Linux kernel counts in
binary fashion - i.e. using powers of two - while the disk manufacturers
provide the capacity in a decimal fashion, i.e. using powers of ten.
Therefore, a disk sold as having an 80 GB capacity could indeed turn out
about 73 GB - probably a bit more - as seen from within the operating
system environment.

On account of the 300 GB, that's possibly because your kernel allows the
physical components of a hardware RAID to be seen as individual disks.

Some RAID controllers and their drivers allow an operating system to look
beyond the RAID set-up, which allows for forensics and very low level
maintenance jobs even in hardware RAID set-ups.

It all depends on the controller and the driver module. ;-)

--
With kind regards,

*Aragorn*
(registered GNU/Linux user #223157)
.



Relevant Pages

  • Re: Wont boot from SATA drives
    ... The only tricky part of the command, is verifying the disk is at /dev/hda ... I have had to do that on occasion, to be able to install an OS on a hard ... in that the add-in Silicon Image RAID ... "6 Using Hard Drives as Non-RAID ...
    (microsoft.public.windowsxp.hardware)
  • Re: Cannot update to FC5 kernel versions 2.6.16*
    ... ran "yum update" and found a new kernel version. ... RAID" since it is basically a software RAID with limited hardware ... no problems it doesn't matter from which disk I am booting. ... I want to install that wonderful drivers for my new Nvidia ...
    (Fedora)
  • Re: RAIDING different size drives
    ... applies to pretend hardware RAID that is often supported by ... GB partition for mirroring with a matching partition on the other disk. ... No need to do that if you have adequate backups. ...
    (comp.sys.ibm.pc.hardware.storage)
  • Re: Wont boot from SATA drives
    ... The only tricky part of the command, is verifying the disk is at /dev/hda ... I have had to do that on occasion, to be able to install an OS on a hard ... in that the add-in Silicon Image RAID ... "6 Using Hard Drives as Non-RAID ...
    (microsoft.public.windowsxp.hardware)
  • Re: Cannot upgrade from FC6->F7. No upgrade option given in install screen. (and RAID remnant)
    ... with the raid device /dev/md0 mdadm will not operate on that device. ... I changed the physical device references for all partitions on ... CD and I eventually received the install / upgrade window! ... there was disk activity and I assumed that selinux-policy-targeted was ...
    (Fedora)