Understanding fc17 partitioning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I just did an install of fc17 x86_64 on a box with 4 SATA 250GB disks
and set up the partitions manually. I created /boot on sda as one
500MB partition, then two RAID partitions using the rest of the
contents of the disks. The first is a RAID1 with four disks for root
and the rest is /var.

Is there a command-line gparted or is it no longer possible to edit
the partition table from the command-line?

Why is there a mixture of old fdisk and new GPT disk layout?

How can I determine which disks are part of which array after the
install? My mdadm.conf just has the UUIDs in it...

# cat /proc/mdstat
Personalities : [raid6] [raid5] [raid4]
md1 : active raid5 sda5[0] sdc4[1] sdd5[4] sdb4[2]
      675835392 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
      bitmap: 1/2 pages [4KB], 65536KB chunk

md0 : active raid5 sdb2[2] sda3[0] sdd2[4] sdc2[1]
      30715392 blocks super 1.2 level 5, 512k chunk, algorithm 2 [4/4] [UUUU]
      bitmap: 0/1 pages [0KB], 65536KB chunk

# cat /etc/mdadm.conf
# mdadm.conf written out by anaconda
MAILADDR root
AUTO +imsm +1.x -all
ARRAY /dev/md0 level=raid5 num-devices=4
UUID=b4a0f31b:13128a35:bbb3a6b9:28eb6c93
ARRAY /dev/md1 level=raid5 num-devices=4
UUID=8a975550:fd148f8d:5b1ccd9b:20a9ff27

Here is the contents of my disks:

# fdisk -l /dev/sd?
Disk /dev/sda: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0003ed7f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1            2048        6143        2048   83  Linux
/dev/sda2   *        6144     1030143      512000   83  Linux
/dev/sda3         1030144    21510143    10240000   fd  Linux raid autodetect
/dev/sda4        21510144   488396799   233443328    5  Extended
/dev/sda5        21514240   472074239   225280000   fd  Linux raid autodetect
/dev/sda6       472076288   488396799     8160256   82  Linux swap / Solaris

Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1   488397167   244198583+  ee  GPT

Disk /dev/sdc: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1   488397167   244198583+  ee  GPT

Disk /dev/sdd: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00014e72

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1            2048        6143        2048   83  Linux
/dev/sdd2            6144    20486143    10240000   fd  Linux raid autodetect
/dev/sdd3        20486144    21510143      512000   83  Linux
/dev/sdd4        21510144   488396799   233443328    5  Extended
/dev/sdd5        21514240   472074239   225280000   fd  Linux raid autodetect
/dev/sdd6       472076288   488396799     8160256   82  Linux swap / Solaris

# mount -t ext4
/dev/md0 on / type ext4
(rw,relatime,user_xattr,barrier=1,stripe=384,data=ordered)
/dev/sda2 on /boot type ext4 (rw,relatime,user_xattr,barrier=1,data=ordered)
/dev/md1 on /var type ext4
(rw,relatime,user_xattr,barrier=1,stripe=384,data=ordered)

Thanks,
Alex
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux