Can only see my data via WebGUI console

Status
Not open for further replies.

Belalseman

Cadet
Joined
Mar 20, 2016
Messages
4
I'm new to FreeNAS, and have recently built a v9.3 box. All was going well until today. I've just recently finished putting all my data into the NAS (6x3TB RAIDZ-2), and I have plugged my old drives (4x3TB) in and given them a run with badblocks to make sure they're still ok and up to the task of expanding my pool (I haven't done that yet though).

This (obviously) means that my data isn't on the old drives any more, which I presume is exactly why my NAS has decided I should lose access to the new files in order to give me a heart attack!

I have no idea what I've done, but I can only ls the files from the console in the webGUI. If I ssh in as root and do an ls, then the prompt just hangs. Which confuses me as I thought it'd be exactly the same. Also I have lost access to my NFS shares.

Please, what c an I do to get my files back?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Did you run badblocks on the drives that had your data? not good.
what is the output of zpool status (in code tags, to retain indent formatting).
 

Belalseman

Cadet
Joined
Mar 20, 2016
Messages
4
No, sorry for the confusion. I mentioned the badblocks run just to point out that it's killed the original copy of my data. I ran badblocks on my old drives AFTER moving my data into the new pool. All was fine for a day or so, but since then something has happened to stop me accessing my files via anything other than the webGUI console window.

Code:
 pool: NetherworldNAS
state: ONLINE
  scan: none requested
config:

    NAME                                                STATE     READ WRITE CKSUM
    NetherworldNAS                                      ONLINE       0     0     0
      raidz2-0                                          ONLINE       0     0     0
        gptid/1f5ca54d-ef01-11e5-beb6-0cc47aa8c566.eli  ONLINE       0     0     0
        gptid/21d6d6c4-ef01-11e5-beb6-0cc47aa8c566.eli  ONLINE       0     0     0
        gptid/2457db52-ef01-11e5-beb6-0cc47aa8c566.eli  ONLINE       0     0     0
        gptid/26d36576-ef01-11e5-beb6-0cc47aa8c566.eli  ONLINE       0     0     0
        gptid/29592689-ef01-11e5-beb6-0cc47aa8c566.eli  ONLINE       0     0     0
        gptid/2bdcf9bc-ef01-11e5-beb6-0cc47aa8c566.eli  ONLINE       0     0     0

errors: No known data errors

  pool: freenas-boot
state: ONLINE
  scan: none requested
config:

    NAME                                          STATE     READ WRITE CKSUM
    freenas-boot                                  ONLINE       0     0     0
      gptid/25b24f41-ed20-11e5-b3d2-0cc47aa8c566  ONLINE       0     0     0

errors: No known data errors
 

Belalseman

Cadet
Joined
Mar 20, 2016
Messages
4
UPDATE: It turns out that the behaviour via SSH and the console are the same after all, I was just trying to ls different locations. If I ls /mnt/NetherworldNAS/Backups then it works. But if I ls /mnt/NetherworldNAS then the prompt just hangs. My best guess is some sort of permissions screw up, but I don't know how to track it down, let alone address it!
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
Ah, ok, I understand the badblocks issue now.

So when you are in the GUI, where are your files located? (path)

And when you login via SSH, which path are you in?
 

depasseg

FreeNAS Replicant
Joined
Sep 16, 2014
Messages
2,874
UPDATE: It turns out that the behaviour via SSH and the console are the same after all, I was just trying to ls different locations. If I ls /mnt/NetherworldNAS/Backups then it works. But if I ls /mnt/NetherworldNAS then the prompt just hangs. My best guess is some sort of permissions screw up, but I don't know how to track it down, let alone address it!
How did you import your data, and where did you put it? You shouldn't have affected the pool root.

what is the output of zfs list?
 

Belalseman

Cadet
Joined
Mar 20, 2016
Messages
4
How did you import your data, and where did you put it? You shouldn't have affected the pool root.

what is the output of zfs list?
I imported my data using rsync through my LAN. I put it in /mnt/NetherworldNAS - my main dataset. I don't think rsync did this, as all was well until this morning. I must've done something to the NAS, while fiddling with the settings.
Code:
NAME  USED  AVAIL  REFER  MOUNTPOINT
NASBackup  436K  7.65T  140K  /mnt/NASBackup
NetherworldNAS  9.16T  1.33T  3.24T  /mnt/NetherworldNAS
NetherworldNAS/.system  319M  1.33T  314M  legacy
NetherworldNAS/.system/configs-0dc2ca1e7fa9464d8c4d7c4fd81f6855  1.96M  1.33T  1.96M  legacy
NetherworldNAS/.system/cores  1.44M  1.33T  1.44M  legacy
NetherworldNAS/.system/rrd-0dc2ca1e7fa9464d8c4d7c4fd81f6855  192K  1.33T  192K  legacy
NetherworldNAS/.system/samba4  304K  1.33T  304K  legacy
NetherworldNAS/.system/syslog-0dc2ca1e7fa9464d8c4d7c4fd81f6855  775K  1.33T  775K  legacy
NetherworldNAS/Backups  65.3G  1.33T  65.3G  /mnt/NetherworldNAS/Backups
NetherworldNAS/Downloads  414G  1.33T  414G  /mnt/NetherworldNAS/Downloads
NetherworldNAS/Library  40.9G  1.33T  40.9G  /mnt/NetherworldNAS/Library
NetherworldNAS/Music  107G  1.33T  107G  /mnt/NetherworldNAS/Music
NetherworldNAS/ROMs  30.3G  1.33T  30.3G  /mnt/NetherworldNAS/ROMs
NetherworldNAS/Software  122G  1.33T  122G  /mnt/NetherworldNAS/Software
NetherworldNAS/Videos  5.15T  1.33T  5.15T  /mnt/NetherworldNAS/Videos
NetherworldNAS/jails  7.67G  1.33T  416K  /mnt/NetherworldNAS/jails
NetherworldNAS/jails/.warden-template-VirtualBox-4.3.12  840M  1.33T  834M  /mnt/NetherworldNAS/jails/.warden-template-VirtualBox-4.3.12
NetherworldNAS/jails/.warden-template-pluginjail  582M  1.33T  576M  /mnt/NetherworldNAS/jails/.warden-template-pluginjail
NetherworldNAS/jails/DriveMounter  4.78G  1.33T  5.59G  /mnt/NetherworldNAS/jails/DriveMounter
NetherworldNAS/jails/couchpotato_1  253M  1.33T  824M  /mnt/NetherworldNAS/jails/couchpotato_1
NetherworldNAS/jails/headphones_1  411M  1.33T  982M  /mnt/NetherworldNAS/jails/headphones_1
NetherworldNAS/jails/lazylibrarian_1  215M  1.33T  778M  /mnt/NetherworldNAS/jails/lazylibrarian_1
NetherworldNAS/jails/sabnzbd_1  235M  1.33T  806M  /mnt/NetherworldNAS/jails/sabnzbd_1
NetherworldNAS/jails/sickbeard_1  287M  1.33T  858M  /mnt/NetherworldNAS/jails/sickbeard_1
NetherworldNAS/jails/transmission_1  137M  1.33T  708M  /mnt/NetherworldNAS/jails/transmission_1
freenas-boot  550M  13.5G  31K  none
freenas-boot/ROOT  542M  13.5G  25K  none
freenas-boot/ROOT/Initial-Install  1K  13.5G  512M  legacy
freenas-boot/ROOT/Pre-FreeNAS-9.3-STABLE-201602031011-517873  1K  13.5G  518M  legacy
freenas-boot/ROOT/default  542M  13.5G  521M  legacy
freenas-boot/grub 
  
 
Status
Not open for further replies.
Top