OK, perhaps knowing that 4TB drives need GPT partition i should not have dived into MCC to use its disk labeling and formating section to setup an additional 4TB hitachi drive i just purchased.
However, as i had not had one of these drives before , i had not used the parted commands, (ive always used fdisk) so i took the easy route, as any non techy user might have done.
wow MCC labeled the disk and i then I run mkfs.ext4 on it and it mounted as a drive with 3.6 TB of space.
So I thought to myself, nice, all sorted and started to transfer the contents of my 2 TB drive to it which was running low on space.
I took the drive out and put it to one side, then the following day plugged it in, run the kernel workaround script to fix the "still outstanding hot plug problem", with mga2 (come on guys its been out 6 months), and tried to mount the disk.
at which point it said could not mount file system corrupt.
I run an fsck on it and it passed correctly, but bitched about filesystem size being wrong.
I opened up MCC disk section to have a look at it, and the data section was now only occupiying 40% of the 4TB disk.
So i looked at the partition with fdisk and sure enough it was not GPT.
so with warnings of im about to loose my data, and knowing its only the partition boundaries that im altering i set out to correct the partition with parted.
first setting the type to GPT with mklabel GPT
then setting the label with mkpart primary 0GB 4009GB
once id quit, fdisk -l was showing the partition correctly but fsck kept moaning that the filesystem was a different size and giving me the size it should be (cant recall the number now, but it was shorter that the size it was repoorting to be,
so i used resize2fs to correct the size.
fsck it again, this time clean.
mounted it, and whola, data all back.
scary time, as i had moved all that data not copied it, and it would have been a total loss.
So Im guessing MCC does not properly set 4TB drives, and although on the face of it it looks OK when you start using it, it seems to lead to disaster.
Or something to do with the hotplug workaround corrupted the disk? this is unlikly, I suspect MCC just did the wrong thing.
But if it had just not worked , then i would not have been led into a false sence of security.
and wold have done it from the outset with parted.
feedback welcome, is this a bug with MCC, should it have correctly partitioned the disk, why did it partition the disk , appear to work and then leave me with a corrupt disk on attempted remount, also if this is a bug, hopefully sharing my expirience might save someone else a problem.
regards peter
ps, while i was thinking about how to fix this i considered undeleting the contents of the origional 2TB, tried extundelete, and ext3grep.
the extundelete was a rpmrebuild of the mga3 version. this started but then seg faulted when it found the number of files and started to undelete, and the ext3grep just failed with an unrecognized structure in the journal (maybe it just wont work with ext4).