The allocation of hard drive space to subdirectories

galoisienne2
Posts: 125
Joined: Sun Nov 03, 2013 6:06 am

The allocation of hard drive space to subdirectories

Postby galoisienne2 » Mon Dec 30, 2013 2:59 pm

Beginners Q.

As I save files to my shares, how can I determine which 'partition' (not sure if that's the correct term) files are saved to ? I've attached a portion of my Linfo app report below. For example, I looked at the subdir specified in my minidlna.conf file to see if that shed any light on where the files physically lives, but that didn't help.

I've got 2 hard drives: one totals about 300 Gb capacity, and is just the hardware that is part of the laptop that I'm using as my server (runs Amahi 7.1). The second drive is usb with 160 Gb capacity, installed very recently, and is accessible via a new Share, subdirectory of which is viewable vis DLNA.

From poking around, my guess is that sda6 is a 'partition' of my main (i.e., non-usb) HD which houses server system related information, and that the much larger sda2 partition, is where the majority of the files I've been saving (PDFs, video, audio) are being saved (the balance of such files are in the USB drive, but that's much more recent).

My question, is how can I verify that this is what's happening. I'm sure if I knew something more about linux or unix I could determine all this. Would appreciate any pointers on this, including Amahi wiki or forum references where this is discussed.

Thanks
Attachments
FilesystemMounts.jpg
FilesystemMounts.jpg (88.94 KiB) Viewed 3025 times
drives.jpg
drives.jpg (84.2 KiB) Viewed 3025 times
Last edited by galoisienne2 on Mon Dec 30, 2013 3:12 pm, edited 1 time in total.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: The allocation of hard drive space to subdirectories

Postby bigfoot65 » Mon Dec 30, 2013 3:09 pm

Depends if you are using Greyhole or not. For Geyhole, all drives in the pool will have copies depending on how many you have set per share.

The files are stored in the shares, so where they are located will point to the files. Of course that is depending on use of Greyhole. It uses symlinks in the shares to point to copies of the files on each drive being used in the pool.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

galoisienne2
Posts: 125
Joined: Sun Nov 03, 2013 6:06 am

Re: The allocation of hard drive space to subdirectories

Postby galoisienne2 » Mon Dec 30, 2013 3:15 pm

Not using greyhole.

I did straightforward install of Amahi on my old laptop. Is it normal for the standard install (don't think I chose any fancy options), to take the main hard drive and partition it into sda1 thru sda6, with the majority in sda2. In other words, is what I'm showing on Linfo look reasonable. Looks like those smaller sda partitions (sda3, sda6, etc) are used for system overhead, boot up, etc. ?

Is that an reasonably accurate way to describe it from a high level ?

Thanks again! (once the holidays are over, I'll be back at the day job, and this little exercise in server/linux education, will slow down) !

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: The allocation of hard drive space to subdirectories

Postby bigfoot65 » Mon Dec 30, 2013 3:30 pm

Yes that is fairly accurate. Unfortunately when you use the default partitioning scheme, you get a huge /home partition. Most don't use much of that space.

There is typically one for home, swap, boot, OS files, and tmp. If you prefer to change the partition scheme, check the wiki for guidance. There are a few articles there that describe a fairly efficient partition scheme that will allocate more space to the right place for shares.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

galoisienne2
Posts: 125
Joined: Sun Nov 03, 2013 6:06 am

Re: The allocation of hard drive space to subdirectories

Postby galoisienne2 » Mon Dec 30, 2013 3:42 pm

Ah, (again, apologies for a possible not-well-formed Q), but aren't the Shares already 'stored' in home partition ?

Will have a search for the wiki files on drive partitioning.

Thanks

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: The allocation of hard drive space to subdirectories

Postby bigfoot65 » Mon Dec 30, 2013 6:07 pm

I could be mistaken, but I believe the /home partition may be for only the /home directories. Shares are stored in /var/hda/files.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 26 guests