Why I can't mount my SDA to hda-diskmount?

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

Why I can't mount my SDA to hda-diskmount?

Postby sleife » Sat Oct 06, 2012 5:40 am

Hi everyody

I reinstall my Server now and set up comlety new but hda-diskmount doesn't gave one Hardrive
But i don't know what i can do, when i exclude the sda, then the server doesn't start anymore :D

For information:
/dev/sda (2TB)
/dev/sdb (2TB)
/dev/sdc (2TB)
/dev/sdd (2TB)
/dev/sde (2TB)
/dev/sdf (32 GB --> Systemdrive!)

hda-diskmount

Code: Select all

Ignoring /dev/sda1 - already in /etc/fstab as /dev/sda1 This device appears to be commented out of your /etc/fstab. You will need to remove it from there for hda-diskmount to be able to mount it.
the hole hda-diskmount:

Code: Select all

hda@hda-desktop:~$ sudo hda-diskmount **************************************************************** Ignoring /dev/sda1 - already in /etc/fstab as /dev/sda1 This device appears to be commented out of your /etc/fstab. You will need to remove it from there for hda-diskmount to be able to mount it. **************************************************************** Ignoring /dev/sdb1 - already mounted Ignoring /dev/sdb1 - already in /etc/fstab as UUID=6adbdfdb-4e72-49f2-9bf2-46f5fe485461 **************************************************************** Ignoring /dev/sdc1 - already mounted Ignoring /dev/sdc1 - already in /etc/fstab as UUID=2d60a0b0-a781-4906-9a8f-baf86a455b9d **************************************************************** Ignoring /dev/sdd1 - already mounted Ignoring /dev/sdd1 - already in /etc/fstab as UUID=387972d7-a35f-4450-858b-9e4bcf484911 **************************************************************** Ignoring /dev/sde1 - already mounted Ignoring /dev/sde1 - already in /etc/fstab as UUID=836f4973-636e-494c-9894-c1edd99de556 **************************************************************** Ignoring /dev/sde2 - already mounted Ignoring /dev/sde2 - already in /etc/fstab as UUID=9bb7ecec-f4b7-4e87-8f44-0c52ee03556e **************************************************************** Ignoring /dev/sdf1 - already mounted Ignoring /dev/sdf1 - already in /etc/fstab as UUID=856bd031-c53b-459a-9617-5217e40e7d07 **************************************************************** Ignoring /dev/sdf5 - already in /etc/fstab as UUID=721aab0b-fa42-4840-a5ac-962dd9d3591e ****************************************************************
FSTAB:

Code: Select all

hda@hda-desktop:~$ cat /etc/fstab # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc nodev,noexec,nosuid 0 0 # / was on /dev/sda1 during installation UUID=856bd031-c53b-459a-9617-5217e40e7d07 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=721aab0b-fa42-4840-a5ac-962dd9d3591e none swap sw 0 0 UUID=6adbdfdb-4e72-49f2-9bf2-46f5fe485461 /var/hda/files/drives/drive1 ext4 defaults 1 2 UUID=2d60a0b0-a781-4906-9a8f-baf86a455b9d /var/hda/files/drives/drive2 ext4 defaults 1 2 UUID=836f4973-636e-494c-9894-c1edd99de556 /var/hda/files/drives/drive3 ext4 defaults 1 2 UUID=9bb7ecec-f4b7-4e87-8f44-0c52ee03556e /var/hda/files/drives/drive4 ext4 defaults 1 2 UUID=387972d7-a35f-4450-858b-9e4bcf484911 /var/hda/files/drives/drive5 ext4 defaults 1 2

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

Re: Why I can't mount my SDA to hda-diskmount?

Postby bigfoot65 » Sat Oct 06, 2012 7:20 am

Was the drive connected when you installed the OS and Amahi? If so, that is why. It is best to only have the drive you intend to install the OS on connected. Then once everything is set up, add it using the guidance in the wiki.

It appears your setup is not standard. The OS drive is typically SDA, not SDF. Not sure how you got to this point, but it may require a reinstall. Are you sure the OS drive is SDF and not SDA? It might be beneficial if you could indicate how you installed the OS and drives. For example, did you follow http://docs.amahi.org? Is this Ubuntu? What drives were connected when you installed OS and Amahi?

Once you clarify your install process, helping you will be easier.
ßîgƒσστ65
Applications Manager

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

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

Re: Why I can't mount my SDA to hda-diskmount?

Postby sleife » Sat Oct 06, 2012 9:07 am

yes i plug out all the harddrives only my SSD was plugin and then i do the following.

1. install ubuntu on the ssd
2. install amahi with the docs http://docs.amahi.org/ubuntu-12.html
3. Then i install all the Ubutnu updates

and then i shutdown the Server and plug all the drives in
and then i want prepare my storage pool
So i do "hda-diskmount" and then this is happend.. i don't know why?
Attachments
asdf.png
asdf.png (51.22 KiB) Viewed 5638 times
pic12.png
pic12.png (56.41 KiB) Viewed 5638 times

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

Re: Why I can't mount my SDA to hda-diskmount?

Postby bigfoot65 » Sat Oct 06, 2012 9:16 am

Recommend you comment out all the drives except the SSD in /etc/fstab. Then disconnect all the drives except the SSD. Reboot and then check to see what the drive assignment reflects. If it is not sda or sda1, there is a problem which may require reinstall.

If it is ok, then recommend you reconnect the drives and try hda-diskmount again, adding each one to /etc/fstab and deleting the old entry. This might realign things as they should be.

Not sure why it reflects this way, but something went wrong at some point. I want to caution you that using a SSD for the OS works, but may require some tweaking to the linux settings. Linux is not optimized to use SSD and offers little performance improvement if any for a server. You can find guidance for the settings on the internet.

I have found through research and experimentation that SSDs are best used for Windows and Mac OS. While they work with Linux, there just is such little benefit. Hopefully one day Linux will catch up and better integrate them into the OS like the other OSes do now.
ßîgƒσστ65
Applications Manager

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

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

Re: Why I can't mount my SDA to hda-diskmount?

Postby sleife » Sat Oct 06, 2012 9:33 am

ok i can try this, but its so strange:
look at this, here is the hardrive set as /dev/sda ? :P
Attachments
dddd.png
dddd.png (30.41 KiB) Viewed 5635 times

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

Re: Why I can't mount my SDA to hda-diskmount?

Postby bigfoot65 » Sat Oct 06, 2012 9:35 am

That is odd. So if it's being seen as sda, you might wanna do more research. Did you install all the necessary dependencies as noted in the wiki for adding hard drives? I am at a loss as to what is going on. Maybe do some searching on the internet to see if anyone else has encountered similar issues with Ubuntu.
ßîgƒσστ65
Applications Manager

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

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

Re: Why I can't mount my SDA to hda-diskmount?

Postby sleife » Sat Oct 06, 2012 10:02 am

Next try, i reinstall ubuntu:
Attachments
2012-10-06 19.01.11.jpg
2012-10-06 19.01.11.jpg (71.81 KiB) Viewed 5633 times

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

Re: Why I can't mount my SDA to hda-diskmount?

Postby sleife » Sat Oct 06, 2012 10:45 am

haha you know what happend

ok listen:

When i finished my server 1 hardrive pluged-in the systemdrive /dev/sda. then i plug another harddrive. this harddrives is automaticly the /dev/sda ??? dafuq. and the systemdrive becomes a /dev/sdb and then when i plug the second harddrive this becomes the /dev/sdb and the systemdrive goes a way back to /dev/sdc :D

how can i fix that?

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

Re: Why I can't mount my SDA to hda-diskmount?

Postby bigfoot65 » Sun Oct 07, 2012 2:18 pm

That should not happen. Also do not use the desktop to mount and view drives for Amahi. When you install additional drives, follow the wiki guidance using hda-diskmount.

The ensure you enter each in /etc/fstab as it reflects in the guidance and mount them. Once a drive is mounted, it should not change unless you do something to change it.
ßîgƒσστ65
Applications Manager

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

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

Re: Why I can't mount my SDA to hda-diskmount?

Postby sleife » Mon Oct 08, 2012 12:57 am

Really strange.

But when i Plugin a harddrive it isn't mounted at the moment. But in gparted its named:

SSD (32GB) Systemdrive: /dev/sdb
2TB Harddisk: /dev/sda

Is it a problem when my systemdrive called /dev/sdf at the end when i plug all 5 Harddrives?

Who is online

Users browsing this forum: No registered users and 10 guests