Confused by partitioning
Posted: Thu Oct 20, 2011 9:23 pm
Dear all, I hope someone can take pity on me and give me some help/advice as although I am able to install Amahi. I have very limited experience of Linux and I am confused about how Amahi works with Greyhole and if I am partitioning and preparing my drives correctly.
Firstly I should say that all I want to get from my server (at this point) is store and share files over my LAN with Windows machines (desktops and a HTPC). Despite my modest demands I find that I have wiped and installed Amahi three times whilst attempting to set it up ‘correctly’. Each time I change how I partition the drives, but I’m still not sure I’m doing it ‘right’.
My Hardware:
Atom 330 CPU, 2GB RAM, sda 320GB (2.5” sata), sdb 1.5T (3.5” sata), sdc 1.5T (3.5” sata) – room for 2 more drives to add sometime in the future
NB: Im using the Fedora14 64bit install DVD
My main confusion is about the landing zone, exactly what it does and how to set it up. I’ve been following
this youtube guide and partitioned my drives as follows during the install, but I think its incorrect?
Sda1 300GB (set as / during install)
Sda2 ~6GB swap
Sdb1 Max (set as /var/hda/files during install)
Sdc1 Max
With the above when Ive finished the install I end up with a 1.5T filesystem
I have read the greyhole wiki but I’m still unclear about the landing zone. My understanding is that when I copy files to a share over my LAN the files go to ‘/var/hda/files’ initially then get moved to the greyhole area later – is that correct? As a result you must make the ‘/var/hda/files’ large enough to hold the capacity of files you might upload. I have a large block of data ~550GB which I want to upload, but I don’t want to find I have to do half and then wait a whole day to upload the second half. What Im also unclear about is whether the ‘/var/hda/files’ contains something of the uploaded files afterwards or will eventually revert to being empty (after Greyhole has processed it). Am I making my ‘/var/hda/files’ far too big, could I get away with putting it on Sda and using all of Sdb and Sdc as the Greyhole filesystem? I just read a post whis says ideally the ‘/var/hda/files’ should be on a seperate drive, so maybe not?
In ‘Computer’ I can see a ‘1.5T TB filesystem’ which contains just a folder called lost+found. Im not sure if this is the ‘/var/hda/files’ or the Greyhole area. There is also a folder call ‘file system’ which appears to be the contents of my Sda1. Where is the Greyhole area and where is the ‘/var/hda/files’ or is one of them not accessible?
Via ‘System monitor’ I can see the three drives. Sda1 is ‘/’, Sdc1 is ‘/media/xxxxxx’ and Sdb1 is ‘/var/had/files’
And in ‘Resources’ I can see the ‘swap’ is setup and working.
Im thinking about repartitioning again with the following layout, is this a good idea or can you suggest something else?
Sda1 50GB (set as / during install)
Sda2 ~6GB swap
Sda3 Max remaining
Sdb1 600GB (set as /var/hda/files during install)
Sdb2 Max remaining
Sdc1 Max
Or maybe
Sda1 50GB (set as / during install)
Sda2 ~6GB swap
Sda3 Max remaining (set as /var/hda/files during install) ~250GB
Sdb1 Max
Sdc1 Max
Thanks in advance for any help provided
Firstly I should say that all I want to get from my server (at this point) is store and share files over my LAN with Windows machines (desktops and a HTPC). Despite my modest demands I find that I have wiped and installed Amahi three times whilst attempting to set it up ‘correctly’. Each time I change how I partition the drives, but I’m still not sure I’m doing it ‘right’.
My Hardware:
Atom 330 CPU, 2GB RAM, sda 320GB (2.5” sata), sdb 1.5T (3.5” sata), sdc 1.5T (3.5” sata) – room for 2 more drives to add sometime in the future
NB: Im using the Fedora14 64bit install DVD
My main confusion is about the landing zone, exactly what it does and how to set it up. I’ve been following
this youtube guide and partitioned my drives as follows during the install, but I think its incorrect?
Sda1 300GB (set as / during install)
Sda2 ~6GB swap
Sdb1 Max (set as /var/hda/files during install)
Sdc1 Max
With the above when Ive finished the install I end up with a 1.5T filesystem
I have read the greyhole wiki but I’m still unclear about the landing zone. My understanding is that when I copy files to a share over my LAN the files go to ‘/var/hda/files’ initially then get moved to the greyhole area later – is that correct? As a result you must make the ‘/var/hda/files’ large enough to hold the capacity of files you might upload. I have a large block of data ~550GB which I want to upload, but I don’t want to find I have to do half and then wait a whole day to upload the second half. What Im also unclear about is whether the ‘/var/hda/files’ contains something of the uploaded files afterwards or will eventually revert to being empty (after Greyhole has processed it). Am I making my ‘/var/hda/files’ far too big, could I get away with putting it on Sda and using all of Sdb and Sdc as the Greyhole filesystem? I just read a post whis says ideally the ‘/var/hda/files’ should be on a seperate drive, so maybe not?
In ‘Computer’ I can see a ‘1.5T TB filesystem’ which contains just a folder called lost+found. Im not sure if this is the ‘/var/hda/files’ or the Greyhole area. There is also a folder call ‘file system’ which appears to be the contents of my Sda1. Where is the Greyhole area and where is the ‘/var/hda/files’ or is one of them not accessible?
Via ‘System monitor’ I can see the three drives. Sda1 is ‘/’, Sdc1 is ‘/media/xxxxxx’ and Sdb1 is ‘/var/had/files’
And in ‘Resources’ I can see the ‘swap’ is setup and working.
Im thinking about repartitioning again with the following layout, is this a good idea or can you suggest something else?
Sda1 50GB (set as / during install)
Sda2 ~6GB swap
Sda3 Max remaining
Sdb1 600GB (set as /var/hda/files during install)
Sdb2 Max remaining
Sdc1 Max
Or maybe
Sda1 50GB (set as / during install)
Sda2 ~6GB swap
Sda3 Max remaining (set as /var/hda/files during install) ~250GB
Sdb1 Max
Sdc1 Max
Thanks in advance for any help provided