Reproduce the hda-diskmount display

sleife
Posts: 79
Joined: Tue Nov 02, 2010 2:56 am

Reproduce the hda-diskmount display

Postby sleife » Sun Dec 26, 2010 5:38 am

Hi everybody

I have a question. I've build my new Homeserver and I add 4 new Hardrives to amahi.

With the command: hda-diskmount


The next step I would try is this Harddrives add to Greyhole. But i'm absolutly confused about the documentations...


1. Can I reproduce this Message when I add all 4 Harddrives? Because i don't write down the UUID of the Harddrives..?
[root@hda ~]$ hda-diskmount
****************************************************************
Ignoring /dev/sda1 - already in /etc/fstab or mounted
****************************************************************
Mounted /dev/sdb1 as '/var/hda/files/drives/sdb1' (read-write)
You may want your system to mount it every time you boot.
To do so, add this line VERY CAREFULLY to /etc/fstab and reboot:
UUID=9d972abc-1639-44df-a60e-668618d40236 /var/hda/files/drives/sdb1 ext4 defaults 1 2
****************************************************************
All Linux, Windows and Mac partitions on non-removable disks have been mounted
http://wiki.amahi.org/index.php/Adding_ ... o_your_HDA


2. Then in nano /etc/fstab
--> All 4 Harddrives must add to this file? Correct?


Sorry but I'm absolutly noob in amahi...

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Reproduce the hda-diskmount display

Postby gboudreau » Sun Dec 26, 2010 6:22 pm

Yes, you need to add 4 lines to your /etc/fstab file.

You can reboot your server. This will unmount the drive that you didn't yet add in there, and hda-diskmount will give you again the lines you need to add.
- Guillaume Boudreau

sleife
Posts: 79
Joined: Tue Nov 02, 2010 2:56 am

Re: Reproduce the hda-diskmount display

Postby sleife » Tue Dec 28, 2010 6:21 am

Ah cool. Thank you very much.

Aem. Another question.

hda-diskmount gave my HDDs drive10 - 13. How can i delete the folders in:

/var/hda/files/drives?

Here are drive1 - drive13 :)

But i dont have so many harddrives.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Reproduce the hda-diskmount display

Postby gboudreau » Tue Dec 28, 2010 11:06 am

Code: Select all

rmdir /var/hda/files/drives/drive1 rmdir /var/hda/files/drives/drive2 rmdir /var/hda/files/drives/drive3 ...
Don't worry, that command won't delete any directories that contain any files or subdirectories, only empty directories.
- Guillaume Boudreau

sleife
Posts: 79
Joined: Tue Nov 02, 2010 2:56 am

Re: Reproduce the hda-diskmount display

Postby sleife » Tue Dec 28, 2010 12:49 pm

Ah ok. Nice to know :)

For what are these folders? When i can delete it?


gboudreau can you help me with this question :)

http://forums.amahi.org/viewtopic.php?f=16&t=2285


Sorry but, i can't found something in the search engine.

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Reproduce the hda-diskmount display

Postby gboudreau » Tue Dec 28, 2010 1:02 pm

I guess those directories were earlier attempts at using hda-diskmount.
You can delete all the empty directories there.
- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 12 guests