Hey guys!
I'm very new to this whole thing.. both Linux and Amahi, so be patience!
My question is, how do I decide where my folders (with my files) goes?
If I check under Drivers and partitions, I see 3 options:
/dev/sda1 with 115,4 MB free space /boot
/dev/sda5 with 526,4 GB free space /
/dev/sdb1 with 870,1 GB free space /home
But when I go back to the share tab, and look under the folders. The path is different. Let's say that we're looking at the folder "Pictures".
It says that it's under "\\hda\pictures"
What driver is that on? sda5, sdb1 or sda1?? I'm so confused!
and when I click on that folder on the shares tab, it says that the path is
"/var/hda/files/pictures"
So, my questions is:
- How do I know WHERE the folders are located exactly, which drive/partition?
- How do I move them to the drive/partition of my choice?
Thanks in advanced!
How to I move my folders to different drivers??
-
- Posts: 3
- Joined: Tue Feb 03, 2015 6:27 am
Re: How to I move my folders to different drivers??
Drivers has nothing to do with the hard drives and folders. If you want to move your folders to a different drive, then you can do this easily via command line.
Currently all your folders are in /var/hda/files directory. You can see the path for them in the Dashboard, Shares tab (provided you enabled advanced settings).
You can move folders if desired to a different drive, but need to update the path for each share that is relocated. The \\hda\pictures is not the directory of the share by the Samba access path you would use from a client, such as Windows.
Does that make sense?
Currently all your folders are in /var/hda/files directory. You can see the path for them in the Dashboard, Shares tab (provided you enabled advanced settings).
You can move folders if desired to a different drive, but need to update the path for each share that is relocated. The \\hda\pictures is not the directory of the share by the Samba access path you would use from a client, such as Windows.
Does that make sense?
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 3
- Joined: Tue Feb 03, 2015 6:27 am
Re: How to I move my folders to different drivers??
Yes it does, but I still don't really understand where the files gets stored.. On the sda or sdb. The sda one is the built in harddrive and the sdb is an external USB drive. I just wanna make sure that I can take advantage of all the space I have.
[ Post made via Android ]
[ Post made via Android ]

Re: How to I move my folders to different drivers??
Sorry my explanation did not help.
All the files by default are stored on the sda hard drive. To use the other drive, you would need to relocate some of the shares from sda to sdb.
Did you mount the second hard drive? There is specific steps required to adding drives to Linux. It's not plug and play. This all may be more advanced than you anticipated. It will take some patience and time to learn.
All the files by default are stored on the sda hard drive. To use the other drive, you would need to relocate some of the shares from sda to sdb.
Did you mount the second hard drive? There is specific steps required to adding drives to Linux. It's not plug and play. This all may be more advanced than you anticipated. It will take some patience and time to learn.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
-
- Posts: 3
- Joined: Tue Feb 03, 2015 6:27 am
Re: How to I move my folders to different drivers??
No man, that's totally fine! And I did thought that this was going to be hard, but not this confusing haha ^^ But I'm here to learn! I'm interested in Linux, coding and programming and stuff like that, and I thought that building my own server/NAS was going to be a great first project!
Back to my question..
about the mounting, I had the driver connected when I installed Amahi. And when I SSH into my server, and use the "cd" and "ls" command to move around and look at different folders, I can see that the external driver is there, both in the terminal and on the Amahi control panel. I can also see where my folders is located in the terminal. Being a Android user for about 8 years have helped me understand the whole var/dev/bla/bla/bla "tree" thingy haha ^^
But as I said, I can SEE my external USB drive (with 1TB), both in the terminal and on the control panel. Does that mean it's mounted?
I made a test!
Under "partition" in the control panel, I see:
Partition-------Total Space-------Free Space-------Used Space-------Mount Point
/dev/sdb1---------900 GB------------900 GB-----------70 MB (1%)-------/home
If I then make a shared folder called "Test" and placed it like this:
/home/files/test
Have I placed on the external drive?
If I go back into the terminal, and "cd" my way into the "home", and type "ls", I can see files, happyrusty, linamariak and lost+found. If i go "cd files" and after that "ls", I can see my "Test" folder.
If this is the correct way to do it, I actually understand how this works haha
Back to my question..
about the mounting, I had the driver connected when I installed Amahi. And when I SSH into my server, and use the "cd" and "ls" command to move around and look at different folders, I can see that the external driver is there, both in the terminal and on the Amahi control panel. I can also see where my folders is located in the terminal. Being a Android user for about 8 years have helped me understand the whole var/dev/bla/bla/bla "tree" thingy haha ^^
But as I said, I can SEE my external USB drive (with 1TB), both in the terminal and on the control panel. Does that mean it's mounted?
I made a test!
Under "partition" in the control panel, I see:
Partition-------Total Space-------Free Space-------Used Space-------Mount Point
/dev/sdb1---------900 GB------------900 GB-----------70 MB (1%)-------/home
If I then make a shared folder called "Test" and placed it like this:
/home/files/test
Have I placed on the external drive?
If I go back into the terminal, and "cd" my way into the "home", and type "ls", I can see files, happyrusty, linamariak and lost+found. If i go "cd files" and after that "ls", I can see my "Test" folder.
If this is the correct way to do it, I actually understand how this works haha

Re: How to I move my folders to different drivers??
The best way to tell is check the contents of /etc/fstab. It may be the OS sees it, but may still need to be mounted.But as I said, I can SEE my external USB drive (with 1TB), both in the terminal and on the control panel. Does that mean it's mounted?
If you followed the Amahi instructions at http://docs.amahi.org you would only had one drive connected when you installed the OS and Amahi. That is by design to ensure the drive is properly mounted after the Amahi install is completed.
The drive may not be part of the OS and disconnecting it could break Amahi. It would be best if you reinstalled the OS and Amahi following the guidance. This will ensure you can add the hard drive properly and not break the OS/Amahi when you disconnect it.
BTW why you refer to the hard drive as a driver?
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
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 9 guests