Page 2 of 2

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sat Jul 18, 2020 5:09 am
by gstorr
I get the following, so it seems to see the disks, just wont mount them:

[admin@localhost ~]$ ls -al /dev/disk/by-id
total 0
drwxr-xr-x 2 root root 320 Jul 18 04:05 .
drwxr-xr-x 6 root root 120 Jul 18 04:05 ..
lrwxrwxrwx 1 root root 9 Jul 18 08:05 ata-Hitachi_HDS723020BLA642_MN1270F33SJL2D -> ../../sdd
lrwxrwxrwx 1 root root 9 Jul 18 08:05 ata-ST2000DL004_HD204UI_S2H7J9FC302561 -> ../../sdc
lrwxrwxrwx 1 root root 9 Jul 18 08:05 ata-ST32000641AS_9WM88VP5 -> ../../sde
lrwxrwxrwx 1 root root 9 Jul 18 08:05 ata-ST3808110AS_5LRA0DBC -> ../../sda
lrwxrwxrwx 1 root root 10 Jul 18 08:06 ata-ST3808110AS_5LRA0DBC-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 18 08:06 ata-ST3808110AS_5LRA0DBC-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 18 08:06 ata-ST3808110AS_5LRA0DBC-part3 -> ../../sda3
lrwxrwxrwx 1 root root 9 Jul 18 08:05 ata-WDC_WD20EARS-00MVWB0_WD-WCAZA3237264 -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 18 08:05 ata-WDC_WD20EARS-00MVWB0_WD-WCAZA3237264-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 9 Jul 18 08:05 wwn-0x50004cf206fefe67 -> ../../sdc
lrwxrwxrwx 1 root root 9 Jul 18 08:05 wwn-0x5000c50040851ab1 -> ../../sde
lrwxrwxrwx 1 root root 9 Jul 18 08:05 wwn-0x5000cca369f4f94c -> ../../sdd
lrwxrwxrwx 1 root root 9 Jul 18 08:05 wwn-0x50014ee2b00da83b -> ../../sdb
lrwxrwxrwx 1 root root 10 Jul 18 08:05 wwn-0x50014ee2b00da83b-part1 -> ../../sdb1

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sat Jul 18, 2020 10:05 am
by bigfoot65
Ok looks like you may have to do this all manually.

Do the following:

Code: Select all

ls -al /dev/disk/by-uuid
Please post the results.

This should reflect the partitions for all your additional disks. I see sdb1, but don't see sdc1, sdd1, sde1 as I would expect if there's data on those drives.

Doing this all manually won't be too difficult. I will post the steps once we sort out this piece.

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sat Jul 18, 2020 11:06 am
by gstorr
Here are the results of ls -al /dev/disk/by-uuid:

[admin@localhost ~]$ ls -al /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 120 Jul 18 04:05 .
drwxr-xr-x 6 root root 120 Jul 18 04:05 ..
lrwxrwxrwx 1 root root 10 Jul 18 08:06 1fe91db3-4ad7-4d18-8550-cfe250c4e77c -> ../../sda1
lrwxrwxrwx 1 root root 10 Jul 18 08:06 4871dfca-4bec-4ede-8ee5-24b6673c7b81 -> ../../sda2
lrwxrwxrwx 1 root root 10 Jul 18 08:06 d2f7e724-f7ea-4ced-b692-55993d28c8fe -> ../../sda3
lrwxrwxrwx 1 root root 10 Jul 18 08:05 e623ec5c-19c7-4779-8b1d-fe8d6d2bad48 -> ../../sdb1

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sat Jul 18, 2020 11:47 am
by bigfoot65
I'm a little concerned at the output. I don't see the partitions for the other disk.

To mount sdb1, do the following:

Code: Select all

sudo mkdir -p /var/hda/files/drives/sdb
Now you need to edit /etc/fstab and add this line:

Code: Select all

UUID=e623ec5c-19c7-4779-8b1d-fe8d6d2bad48 /var/hda/files/drives/sdb ext4 defaults 1 2
Once that is done, do:

Code: Select all

sudo mount -a
Providing there is no output, you should be able to see your files:

Code: Select all

ls -al /var/hda/files/sdb
If you want to use a different name than sdb, change in all the commands above.

You would do the same for all other drives. Odd that they are not reflected in the output. BTW, sda is your OS drive so don't mess with that one.

Check to ensure all the dependencies have been installed:

Code: Select all

sudo dnf -y install pmount fuse fuse-libs ntfs-3g util-linux-ng parted
Also might want to do a reboot too if you have not already.

I hope that helps. As for the other drives, can you check them on a different system to see if there is data? Don't know what they are not reflected otherwise. I'll see what else I can think of that might help.

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sat Jul 18, 2020 12:57 pm
by gstorr
Thanks for all your help. Unfortunately I still cant see files. I followed the steps and the result of "ls -al /var/hda/files/sdb"
is "ls: cannot access '/var/hda/files/sdb': No such file or directory". I will try to find another system to test the drives, but I dont have one handy at the moment.

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sat Jul 18, 2020 4:57 pm
by bigfoot65
Ok, not looking good so far.

Also try the following to show it's mounted:

Code: Select all

df -h
That should show all current drive mount points.

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sun Jul 19, 2020 9:48 am
by gstorr
Here is the result. None of them are mounted. Have I somehow lost my partitions?

Filesystem Size Used Avail Use% Mounted on
devtmpfs 2.9G 0 2.9G 0% /dev
tmpfs 3.0G 0 3.0G 0% /dev/shm
tmpfs 3.0G 832K 3.0G 1% /run
tmpfs 3.0G 0 3.0G 0% /sys/fs/cgroup
/dev/sda3 67G 2.1G 61G 4% /
tmpfs 3.0G 20K 3.0G 1% /tmp
/dev/sda1 976M 80M 830M 9% /boot
/dev/sdb1 1.8T 77M 1.7T 1% /var/hda/files/drives/sdb
tmpfs 595M 0 595M 0% /run/user/1000

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sun Jul 19, 2020 10:06 am
by bigfoot65
Filesystem Size Used Avail Use% Mounted on
devtmpfs 2.9G 0 2.9G 0% /dev
tmpfs 3.0G 0 3.0G 0% /dev/shm
tmpfs 3.0G 832K 3.0G 1% /run
tmpfs 3.0G 0 3.0G 0% /sys/fs/cgroup
/dev/sda3 67G 2.1G 61G 4% /
tmpfs 3.0G 20K 3.0G 1% /tmp
/dev/sda1 976M 80M 830M 9% /boot
/dev/sdb1 1.8T 77M 1.7T 1% /var/hda/files/drives/sdb
tmpfs 595M 0 595M 0% /run/user/1000
Looks like the one we manually mounted is there. So that's good. Not sure why you don't see files, but it's a start. The others are either not properly formatted or there is a bad connection with your board.

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sun Jul 19, 2020 11:38 am
by gstorr
Weird in that the worked fine for years. I must have done something when upgrading Amahi to effect the partitions. I found an old USB drive that I can now plug the drives into on a windows box. Also downloaded an EXT utility for Windows - no partitions on any of the disks. SO now trying a recovery utility to see if I can recover the disks - all four could not have failed at once so must have been something during the install I did. I did not unplug them - lesson learned.

Re: Trouble with Amahi 11 Upgrade - No Fileshares

Posted: Sun Jul 19, 2020 11:48 am
by bigfoot65
Oh no. That really stinks.

My guess is by not unplugging them, during the Fedora install they got wiped. 😔

If that’s the case, recovery may not be possible. Always worth a shot though, as long as they did not get formatted.

Also ensure you check the drives for hidden directories/files.

Hope you are able to recover. Hard lesson to learn.

I always disconnect data drives when installing a new OS as a precaution.