View previous topic :: View next topic |
Author |
Message |
honeymak Guru
Joined: 30 Dec 2002 Posts: 556
|
Posted: Tue Nov 10, 2009 7:44 am Post subject: parted on mdadm |
|
|
hi guys,
i made /dev/md0 bigger than 2T so GPT is needed
as everyone knows, only parted will do the job
but i think i found "would-be" bug for parted? or mdadm raid
coz i m seeing some msg about GPT is not found at the end of disk so
parted -l gives wrong result
i guess parted doesn't know my "drive" is /dev/md0 software raid and parted just keep reading GPT info at the raw phy. hard drive level
so it doesn't find the GPT info "at the end of /dev/md0" rather than "the end of /dev/sda"
anyone experienced this?
or any bug info related upstream?
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
Cyker Veteran
Joined: 15 Jun 2006 Posts: 1746
|
Posted: Tue Nov 10, 2009 8:40 am Post subject: |
|
|
How did you make the GPT? In Parted?
My RAID array is 4TB (Well, 3 after RAID5 takes it's cut) and I bypassed this whole problem by formatting /dev/md0 and mounting it directly.
Turns out this lame 2TB partition limit doesn't affect the filesystem so if you don't use a partition, you don't have to care
My next problem will be when I get 2TB drives and beyond since I can't use Linux RAID Autodetect partitions on the actual drives without using buggy stuff like GPT.
I suppose I could just not partition those either and make the RAID elements The Disk, (e.g. /dev/sda) instead of a partition (/dev/sda1) but then I loose the autodetect :S |
|
Back to top |
|
|
honeymak Guru
Joined: 30 Dec 2002 Posts: 556
|
Posted: Tue Nov 10, 2009 8:50 am Post subject: |
|
|
ur thing is a trick i used to use
coz if i make partition on /dev/md0 => /dev/md0p1 (note the pX as partition)
that will make the "miracle" bug
_________________ hackers - make sth real
academics - read sth said to be real |
|
Back to top |
|
|
|