Hi,
I added a 3TB hard drive to my new Amahi 10 server. It had about 2TB of files on it. I added it using the Disk Wizard, and didn't format it but just gave it a label. I think I chose the ext4 option. But I don't see any files on the disk when I use the ls command in a ssh terminal. I tried adding a share to the disk and it created the sharename folder, but no files visible. When looking at the Add page of the Disk Wizard, I can still see 2TB in use.
I am not sure now what file system the disk was formatted with, although it was part of my old Amahi 9 server. I think I may have formatted it with NTFS, would that give the symptoms I described? If so, what should I do? Is it safe to unmount it, then mount it as an NTFS disk using the Disk Wizard?
I would like to be able to get at the data. I have a backup, but to restore from that would mean trashing my new server and reinstalling Windows on it, a long process.
Thanks for your help,
Steve
SOLVED: I can't see my data
-
- Posts: 38
- Joined: Tue Jan 19, 2010 11:41 am
- Location: Spain
Re: I can't see my data
Unmount the drive first.
You need to determine the file system for the drive.
Then try mounting it using the correct file system based on the output.
You need to determine the file system for the drive.
Code: Select all
df -Th
ßî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: 38
- Joined: Tue Jan 19, 2010 11:41 am
- Location: Spain
Re: I can't see my data
Hi, I don't think it's mounted. When I do umount /dev/sde or /dev/sde1 it tells me it's not mounted.
Here's the output from your command:
Thanks
Steve
Here's the output from your command:
- [steve@localhost ~]$ sudo df -Th
[sudo] password for steve:
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 968M 0 968M 0% /dev
tmpfs tmpfs 976M 0 976M 0% /dev/shm
tmpfs tmpfs 976M 856K 976M 1% /run
tmpfs tmpfs 976M 0 976M 0% /sys/fs/cgroup
/dev/sda4 xfs 38G 1.9G 36G 6% /
tmpfs tmpfs 976M 40K 976M 1% /tmp
/dev/sda2 ext4 976M 72M 838M 8% /boot
/dev/sda5 xfs 19G 52M 19G 1% /home
/dev/sda1 vfat 200M 9.4M 191M 5% /boot/efi
none tmpfs 4.0M 0 4.0M 0% /var/spool/greyhole/mem
tmpfs tmpfs 196M 0 196M 0% /run/user/1000
Thanks
Steve
-
- Posts: 38
- Joined: Tue Jan 19, 2010 11:41 am
- Location: Spain
Re: I can't see my data
OK, so I rebooted, and the drives seemed to be mounted this time.
Here's the output. I unmounted it and then ran df -Th, but it didn't show me what filesystem it was.
Here's the output. I unmounted it and then ran df -Th, but it didn't show me what filesystem it was.
- [steve@localhost ~]$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 968M 0 968M 0% /dev
tmpfs tmpfs 976M 0 976M 0% /dev/shm
tmpfs tmpfs 976M 852K 976M 1% /run
tmpfs tmpfs 976M 0 976M 0% /sys/fs/cgroup
/dev/sda4 xfs 38G 2.0G 36G 6% /
/dev/sdb1 ext4 916G 77M 870G 1% /var/hda/files/drives/HDD1
/dev/sda5 xfs 19G 52M 19G 1% /home
/dev/sda2 ext4 976M 72M 838M 8% /boot
tmpfs tmpfs 976M 24K 976M 1% /tmp
/dev/sda1 vfat 200M 9.4M 191M 5% /boot/efi
/dev/sdc1 ext4 916G 77M 870G 1% /var/hda/files/drives/HDD2
/dev/sdd1 ext4 916G 77M 870G 1% /var/hda/files/drives/HDD3
/dev/sde1 ext4 2.7T 2.1T 504G 81% /var/hda/files/drives/HDD4
none tmpfs 4.0M 0 4.0M 0% /var/spool/greyhole/mem
tmpfs tmpfs 196M 0 196M 0% /run/user/1000
[steve@localhost ~]$ umount /dev/sde1
umount: /var/hda/files/drives/HDD4: umount failed: Operation not permitted
[steve@localhost ~]$ sudo umount /dev/sde1
[sudo] password for steve:
[steve@localhost ~]$ df -Th
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 968M 0 968M 0% /dev
tmpfs tmpfs 976M 0 976M 0% /dev/shm
tmpfs tmpfs 976M 856K 976M 1% /run
tmpfs tmpfs 976M 0 976M 0% /sys/fs/cgroup
/dev/sda4 xfs 38G 2.0G 36G 6% /
/dev/sdb1 ext4 916G 77M 870G 1% /var/hda/files/drives/HDD1
/dev/sda5 xfs 19G 52M 19G 1% /home
/dev/sda2 ext4 976M 72M 838M 8% /boot
tmpfs tmpfs 976M 24K 976M 1% /tmp
/dev/sda1 vfat 200M 9.4M 191M 5% /boot/efi
/dev/sdc1 ext4 916G 77M 870G 1% /var/hda/files/drives/HDD2
/dev/sdd1 ext4 916G 77M 870G 1% /var/hda/files/drives/HDD3
none tmpfs 4.0M 0 4.0M 0% /var/spool/greyhole/mem
tmpfs tmpfs 196M 0 196M 0% /run/user/1000
[steve@localhost ~]$
Re: I can't see my data
You have to unmount the drive at it's mount point:
Then try running the command to see if it identifies the file system.
BTW all commands when dealing with drive mounting and unmounting have to be done with elevated privileges.
Code: Select all
sudo umount /var/hda/files/drives/HDD4
BTW all commands when dealing with drive mounting and unmounting have to be done with elevated privileges.
ßî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: 38
- Joined: Tue Jan 19, 2010 11:41 am
- Location: Spain
Re: I can't see my data
Hi,
So I shut my new server down, took the drive out and put it back into my old server and booted that up. It WAS ext4, not ntfs or anything else, and it turns out that the problem was the share name. In my old server it had been shared out of location:
/var/hda/files/drives/drive1/wsse1copy
On the new server I decided to use:
/var/hda/files/drives/HDD4/WSSE1Copy
But that didn't work, because Linux is case sensitive and WSSE1Copy is completely different to wsse1copy.
So I used:
/var/hda/files/drives/HDD4/wsse1copy as the share location.
Now I can see all of my data!
Thank you for your help, it's very much appreciated.
Steve
So I shut my new server down, took the drive out and put it back into my old server and booted that up. It WAS ext4, not ntfs or anything else, and it turns out that the problem was the share name. In my old server it had been shared out of location:
/var/hda/files/drives/drive1/wsse1copy
On the new server I decided to use:
/var/hda/files/drives/HDD4/WSSE1Copy
But that didn't work, because Linux is case sensitive and WSSE1Copy is completely different to wsse1copy.
So I used:
/var/hda/files/drives/HDD4/wsse1copy as the share location.
Now I can see all of my data!
Thank you for your help, it's very much appreciated.
Steve
Re: I can't see my data
Glad you sorted it out.
Marking this one solved.
Marking this one solved.
ßî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 23 guests