Page 1 of 2

SOLVED: hda-diskmount not recognizing my second drive

Posted: Tue Jan 10, 2012 11:51 pm
by djchamkila
I reinstalled my system with one drive and added second drive later, which is detected by fedora, I formatted with gparted but hda-diskmount is not recognizing it. I read comment that Drives must be formatted as MBR not GUID/GPT for hda-diskmount to recognize the disk. but I didn't find this option during formatting in gparted. where am I missing this step? ?

Code: Select all

[root@amahi *****]# hda-diskmount **************************************************************** Ignoring /dev/sda1 - already mounted Ignoring /dev/sda1 - already in /etc/fstab as UUID=bc48b7a7-8051-49c6-a654-329a21178055 **************************************************************** Ignoring /dev/sda3 - already mounted Ignoring /dev/sda3 - already in /etc/fstab as UUID=5576e03a-f8a6-40f0-a986-bf804e177fd5 **************************************************************** No usable Linux, Windows or Mac partitions found on your disks. [root@amahi *****]#

Re: hda-diskmount not recognizing my second drive

Posted: Wed Jan 11, 2012 5:57 am
by bigfoot65
Might be best not to use gParted. Have you checked their web site for help?

The script should detect a drive with no partitions. If not, consider using cfdisk instead.

http://wiki.amahi.org/index.php/Adding_ ... ing_cfdisk

Re: hda-diskmount not recognizing my second drive

Posted: Wed Jan 11, 2012 7:38 pm
by sahrempire
I agree, use cfdisk and follow the instructions line by line. I just recently had this issue as well.

Re: hda-diskmount not recognizing my second drive

Posted: Fri Jan 13, 2012 10:27 am
by djchamkila
ok I am able to mount my second hard drive and use is as my share but in my amahi dashboard its showing up twice. I might have used mount -a twice, but then I reformatted my drive again and mounted correctly but still is showing up twice. its only 2TB but not showing double storage..

Re: hda-diskmount not recognizing my second drive

Posted: Fri Jan 13, 2012 10:48 am
by bigfoot65
Ensure it only appears in /etc/fstab once. Also a reboot might clear it up.

Re: hda-diskmount not recognizing my second drive

Posted: Fri Jan 13, 2012 7:17 pm
by djchamkila
thanks I guess the problem was in /etc/fstab I had default that was mounting and then I added line per instructions...so I commented out original one and that did the trick. Thanks Mr Big Foot

Re: hda-diskmount not recognizing one of my drives

Posted: Thu Dec 05, 2013 4:41 am
by gorillazgr
hi all! well. it seems, that digging is as good as practice makes perfect!

so I return to this thread , because I am not able to mount to my new amahi7 installation one of my HDDs :cry:
so for technical information there were 3 HDDs each of 2TB mounted on my Amahi6.

Code: Select all

[root@localhost ~]#​​ls -1 /dev/disk/by-id/ | egrep -v "part|scsi" ata-SAMSUNG_HD204UI_S2H7JD1B116457 ata-ST2000DM001-9YN164_W1E2L1WQ ata-ST32000542AS_6XW0TXDT ata-ST9250315AS_6VCP0FT9 ata-TSSTcorpCD_DVDW_TS-H653L wwn-0x5000c5001ba6b07b wwn-0x5000c50032817d93 wwn-0x5000c5005b9e3f8a wwn-0x50024e90049a6e90

Code: Select all

[root@localhost ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 232.9G 0 disk ├─sda1 8:1 0 200M 0 part ├─sda2 8:2 0 180.6G 0 part /home ├─sda3 8:3 0 1.8G 0 part [SWAP] ├─sda4 8:4 0 1K 0 part ├─sda5 8:5 0 1.8G 0 part └─sda6 8:6 0 48.5G 0 part / sdb 8:16 0 1.8T 0 disk └─sdb1 8:17 0 1.8T 0 part sdc 8:32 0 1.8T 0 disk └─sdc1 8:33 0 1.8T 0 part sdd 8:48 0 1.8T 0 disk └─sdd1 8:49 0 1.8T 0 part sr0 11:0 1 1024M 0 rom
the problem is with the my 3rd HDD, mentioned as: /dev/sdd

Code: Select all

[root@localhost ~]# fdisk -l /dev/sdd WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion. Disk /dev/sdd: 2000.4 GB, 2000398934016 bytes, 3907029168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk label type: gpt # Start End Size Type Name 1 2048 3907028991 1.8T Microsoft basic

Code: Select all

[root@localhost ~]# [color=#FF0000]hda-diskmount[/color] **************************************************************** Mounted /dev/sdb1 as '/var/hda/files/drives/drive1' (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=8d149e1e-8d67-4860-8bfc-bdd20c3188a1 /var/hda/files/drives/drive1 ext4 defaults 1 2 **************************************************************** Mounted /dev/sdc1 as '/var/hda/files/drives/drive2' (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=a15857e8-ea22-4915-acac-a95618b39069 /var/hda/files/drives/drive2 ext4 defaults 1 2 **************************************************************** Ignoring /dev/sda1 - already in /etc/fstab as UUID=ad16a0f4-ca05-414d-a9ac-83deb46fd229 **************************************************************** Ignoring /dev/sda2 - already mounted Ignoring /dev/sda2 - already in /etc/fstab as UUID=1f528ed0-5d7b-4f8a-8d60-f84884a4225d **************************************************************** Mounted /dev/sda5 as '/var/hda/files/drives/drive3' (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=b978b457-9c9d-4ddb-b805-57fd767bd389 /var/hda/files/drives/drive3 ext4 defaults 1 2 **************************************************************** Ignoring /dev/sda6 - already mounted Ignoring /dev/sda6 - already in /etc/fstab as UUID=985f9d58-c0d9-41da-9256-766a0fd6d502 **************************************************************** Ignoring /dev/type: - already in /etc/fstab as UUID= **************************************************************** All Linux, Windows and Mac partitions on your disks have been mounted.
Hopefully I did gather and presented to you the most information I could think of.
It is obvious that the "/dev/sdd1" partition is kinda invisible/unavailable to the "hda-diskmount", perhaps because of the it's "GPT-experimental phase" ???
Anyways, the history is that as a user of amahi 6 with Ubuntu 12.04 LTS, I added a 3rd HDD and using the GParted , and it seems I formatted the drive using GPT partitioning :(


Although I have my old setup, from Amahi 6, which means I could boot in Amahi 6, and use the greyhole "gone" command for the "/dev/sdd", then boot back with Amahi 7, reformat, etc. etc.
But I am the type of guy that likes to solve problems, and through that, help others too if possible.

Is it possible to bypass and solve this one too? Perhaps other ppl will not be that suspicious to keep their old Amahi 6, installation...

Re: hda-diskmount not recognizing my second drive

Posted: Thu Dec 05, 2013 6:16 am
by bigfoot65
Did you install the dependencies needed for hda-diskmount? They are listed in the wiki for the adding of additional hard drives. If that is not the issue, then I would imagine it's gParted that caused the problem.

I have had nothing but problems using that tool to format disks. I use cfdisk and the mkfs as described in the wiki and have had great success.

This is not something I would spend a lot of energy trying to figure out. In my opinion, reformat using cfdisk and move on.

Re: hda-diskmount not recognizing my second drive

Posted: Mon Jan 06, 2014 8:54 am
by gorillazgr
In my opinion, reformat using cfdisk and move on.

that was my opinion too !!!

(yeap! and dependencies needed for hda-diskmount, were installed correctly)

Re: hda-diskmount not recognizing my second drive

Posted: Mon Jan 06, 2014 9:15 am
by bigfoot65
So is it working now?