Hi,
I am wondering when i add a file to a disk pool... how is it decided which physical disk it will reside on ?..
Current using Ubuntu Server for sharing 2 physical disks - but like the look of Amahi. My concern is that one of my disks contains all my HD content while the other disk contains Documents, Music & Pictures. Ideally i want to keep the division like that. So when I add a HD movie, it will go to the correct drive.
The other question is, if i have a ext4 disk full of content - can i simply add it to the pool without it destroying the data on it ?
If my Amahi box fails, I assume can pull out the drives and disk can be accessed in the normal manner to view the files ?
Appologies for the newbie questions - but i don't want to risk loosing my data.
Thanks,
Anand
How are files allocated to disks
-
- Posts: 6
- Joined: Sun Jan 02, 2011 9:30 am
Re: How are files allocated to disks
From what I understand, you cannot specifically choose which disks certain data will reside on.how is it decided which physical disk it will reside on ?..
If you have multiple drives, you can configure Amahi so that certain shares are stored on more than one drive. For example, your Pictures share, you may want to have the maximum number of allowed copies. So Amahi will leave a copy of your pictures share on every drive in the storage pool.My concern is that one of my disks contains all my HD content while the other disk contains Documents, Music & Pictures.
Yes I believe so. Check this link: http://wiki.amahi.org/index.php?title=G ... edirect=no under the heading, Copying your data into greyhole shares for the first time.The other question is, if i have a ext4 disk full of content - can i simply add it to the pool without it destroying the data on it ?
YesIf my Amahi box fails, I assume can pull out the drives and disk can be accessed in the normal manner to view the files ?
Re: How are files allocated to disks
The drive with the most available space is used first. Exception: sticky files (see next answer).I am wondering when i add a file to a disk pool... how is it decided which physical disk it will reside on ?..
What you want is sticky files.Current using Ubuntu Server for sharing 2 physical disks - but like the look of Amahi. My concern is that one of my disks contains all my HD content while the other disk contains Documents, Music & Pictures. Ideally i want to keep the division like that. So when I add a HD movie, it will go to the correct drive.
You basically tell Greyhole where to keep files in specific shares or directories.
The Music share is sticky by default, but you can edit greyhole.yml, and make all/any share sticky if you'd like.
easycompany is right about those.The other question is, if i have a ext4 disk full of content - can i simply add it to the pool without it destroying the data on it ?
If my Amahi box fails, I assume can pull out the drives and disk can be accessed in the normal manner to view the files ?
Apologies for the late response; I don't read new posts in this forum very often.Apologies for the newbie questions - but i don't want to risk loosing my data.
- Guillaume Boudreau
Who is online
Users browsing this forum: No registered users and 30 guests