Basher52 wrote:You say that its a total of 48610 cylinders of the disk, before doing any change..
As I can see in 'fdisk' it starts at cyl=1 and ends at cyl=48611
for me that is 48611 cylinders, maybe even 48612 if you count the cylinder=0(if this is 0-based, donno). Do you mean that the end cylinder is up to 48611 but NOT INCLUDING the cylinder 48611? if so, I can understand why you say only 48610 cyls otherwise I dont get it :(
To tell you the truth that struck me as odd as well. I was just looking at how you said yours was currently configured and I assumed that it must set the ending cylinder to 1 greater than the ending cylinder. Looking at my disk partition layouts that is not the case. My ending cylinder number = my total cyliners on my last partition on a few machines I have checked. That's also how the fdisk documentation shows it:
http://tldp.org/HOWTO/Partition/fdisk_partitioning.htmlIt would be interesting if you ran "fdisk" and deleted the existing partition and then did a "n" for new partition and see what it defaults to for ending cylinder (you can do this without actually w)riting the new partition table to disk). I have to assume it will default to 72915 which is the total number of cylinders you currently have. I have to assume the GPT type partitions must be different than normal Linux partitions. Either that or parted screwed up when you created the partition. I assume that is not the case but I would have to do some testing of my own before I am sure. On a side note here is another article talking about what we are doing here:
http://www.coraid.com/support/linux/con ... w/gpt.htmlI like the comparision of a partition to the "fence" and I get that part and now I also know why the data is still there(well i figured that anyways, its never gone until you overwrite the tracks) but I gotta ask and I hope you know this... why is the data nuked when you do this in DOS? shouldn't the data be handled the same way? Does the bulldozers have to wipe all "corns" when they plant the new fence, lol?
I don't think FDISK in DOS behaves any differently. It doesn't wipe out the data just by deleting a partition as far as I know. Of course you can't access the data until you create the partition exactly as it was before you deleted it. I could be wrong of course, it's been years and years since I have used a DOS FDISK. Back then you still had to do a "FORMAT" to create a file system after you created a partition. It's no different than having to do a mkfs/newfs after creating a partition using Linux fdisk. Again, there may be more to it than I remember.
I won't do anything, although I know the data will be intact if I go along what you say, but I wanna understand the number of cylcs first.
Me too. :) I was under the impression that this ARRAY of small drives didn't have any data on it (if it got trashed it wouldn't be a big deal). Is this not the case? Really, fdisk and parted should not let you create a partition bigger than the size of the drive so I wouldn't be too concerned. I try and find an exact answer on that though.
The server with these disks is standing a bit away and I only has an SSH session to get into it, unless using the crappy 14" monitor at only 1024*768 and I'm trying to get to know the console command for all this incase I have to use it elsewhere so I have no graphic interface to it and thereby no 'gparted'
Sounds like fun. :) I have always preferred fdisk/resize2fs over parted just because I feel that I know exactly what is happening. Basically I haven't used parted enough to have a good feeling for what it's actually doing. Maybe when I get home I'll have to do some more playing with it so I can feel more confident in giving advice on it. Sorry about that.