Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
parted on mdadm
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 537

PostPosted: Tue Nov 10, 2009 7:44 am    Post subject: parted on mdadm Reply with quote

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?

:oops:
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
Cyker
Veteran
Veteran


Joined: 15 Jun 2006
Posts: 1746

PostPosted: Tue Nov 10, 2009 8:40 am    Post subject: Reply with quote

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
View user's profile Send private message
honeymak
Guru
Guru


Joined: 30 Dec 2002
Posts: 537

PostPosted: Tue Nov 10, 2009 8:50 am    Post subject: Reply with quote

ur thing is a trick i used to use :P

coz if i make partition on /dev/md0 => /dev/md0p1 (note the pX as partition)

that will make the "miracle" bug
:twisted:
_________________
hackers - make sth real
academics - read sth said to be real
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum