Page 1 of 1

Trying to add a 1tb disk to greyhole giving me an error in gparted and half space

Posted: Thu Sep 22, 2016 8:23 pm
by jcostantino
Hi, I have a 1tb disk I'm trying to add and like the title says, gparted says "The driver descriptor says the physical block size is 2048 bytes, but Linux says it is 512 bytes." but it formats it at full capacity. When I add it to Greyhole and run greyhole -s from the shell it shows:

Storage Pool
Total - Used = Free + Trash = Possible
/var/hda/files/drives/500/gh: 458G - 291G = 144G + 0G = 144G
/var/hda/files/drives/1000/gh: 917G - 243G = 627G + 0G = 627G
/var/hda/files/drives/1000.2/gh: 455G - 21G = 627G + 0G = 627G
==========================================
Total: 1830G - 555G = 1399G + 0G = 1399G

Where 1000 is the first drive that added correctly and 1000.2 is the problem drive.

I've tried gdisk to reset the partition table and reformatted it a few times. Can anyone give me an idea on how to proceed with this? I originally formatted it as a single disk on a raid controller which was probably my mistake but I can't seem to undo that now. It's on the internal bus at the moment and will stay there since it is replacing a failing drive.

Re: Trying to add a 1tb disk to greyhole giving me an error in gparted and half space

Posted: Fri Sep 23, 2016 5:49 pm
by bigfoot65
Did you use the disk-wizard App?

You might also consider following the adding a second hard drive to your HDA guidance.

Re: Trying to add a 1tb disk to greyhole giving me an error in gparted and half space

Posted: Sat Sep 24, 2016 4:19 pm
by jcostantino
I did all that and it shows up everywhere in the system as full capacity EXCEPT when I do greyhole -s and the two identical drives report different total sizes but show 627 gig free each with a difference in used size of about 50 gig. It's weird but it doesn't seem to be affecting anything.

Re: Trying to add a 1tb disk to greyhole giving me an error in gparted and half space

Posted: Sat Sep 24, 2016 7:46 pm
by bigfoot65
Not sure what to recommend other than starting over with that drive.

Ensure all partitions are removed and follow the manual wiki guidance from my previous post.

Something is not quite right. Also recommend you not name your drive mount with any special characters. That might be causing the issue.

Keep it simple. I name my by device, i.e. sdb, sdc, etc. Don't need to know the size in the mount name as it's easy enough to tell via command line.