Can not re-mount UFS hdd

Status
Not open for further replies.
Joined
Feb 24, 2014
Messages
4
Hi All

This is the first time i am posting on this forum, so please let me know if missed any of the rules, I hope this is the right place. I am sure there are some typo's which i will fix tomorrow as it is getting late and need to get this posted and not delay any longer.

I am new to FreeNAS but i use to use a Unix box for my job from 2000 to 2004, i think the version was HP-UX. After the last few day of trying to use the command line I think i am more then a little rusty, about all I remember there is no undo button and never to use "rm -rf *.*" unless you want to nuke everything in your current dir and below. :(

I have been testing freeNAS for the last 3 to 4 weeks with no major problem, just some minor ones with some rust on permissions for users and groups and how it all works.

Note: I am testing this on a old desktop "dell optiplex gx 620" with 4 gb of ram and therefore using UFS and not ZFS.

  • FreeNAS version and platform: 9.2.0 and 9.2.1 64 bit
  • General hardware information dell optiplex gx 620 with 4 gb ram (also tried to upgrade to 6 gb no help),
  • I will have to lookup the Motherboard model, and Specific hardware information (Network card chipset, Raid controller chipset, etc.) info and update later.
Background
Last week i decided to tackle setting up a media on FreeNAS, i did not get far before i realized that i still had the permissions wrong on one of my drives, i tried changing the permissions under Volume in the GUI and i could not get it to work this of course was the one drive that I setup using UFS legacy manager as it was the only new drive (WD 3tb red drive for NAS). I did not try any cmd line methods due to the rust mentioned above. Before i unmounted the UFS drive i tried to unmount and remount my other drives by using the Imp Vol on the GUI, a few snags with one vol but after a few tries and a reboot all was good so i tried the UFS drive and my Freenas world crashed. I could not remount it or do much of anything could not even sent the shutdown cmd from the keyboard plugged into the NAS, had to force a powerdown with the power button. (I knew at this point could be in some deep "do-do" and of course the all the rebooting after this did nothing. I have tried reinstalling Freenas (9.2.0 on the same USB) - no luck then i updated to 9.2.1 with a fresh install which was successful for the install but not for my issue.

I know I have stepped into somewhere you should not go, or done something only new bee's do. I have all but accepted the data on the drive is gone, i just want to understand what i have done, so i try and reduce the chance repeating this muckup going forward.

I trying to solve this i have tried to fsck and it does not recognizse the UFS drive, however when i list the drives with 'View disks" it is there. I believe i when i first set the drive using UFS Legacy that it was setup for windows file system "NTFS".

Possible related issue or 2nd issue.
The other strange thing i noticed is the mnt dir is no longer connected to the root, even after the clean downloads and reinstalls (both versions). I could try and manually mount it but i want to know if this is normal or not. The place where i noticed this is in the GUI when i was about add a user with a home directory and all that was there was "/" and i had successfully imported to 2 hdd and there was nothing there. This is where i decided to get help because i do not know if the 2 things are related or separate issues. I have search the forum the closest thing i could find mentioned manually load the fuse, which i do not know about so i am not going to try without more some guidance.

I have skimmed the powerpoint 4 newbe's which like alot but have not found my solution yet as it seem to aimed at ZFS users which i do not think transfer to UFS users.

I will update with some screen shots tomorrow as i had to shutdown and move the NAS box for other reasons. I have attached the error that came up the last time when i click on change permission under volume for the 3tb hdd.

Thanks for any info.
 

Attachments

  • Mounting Error on 3tb drive.pdf
    43.4 KB · Views: 370
D

dlavigne

Guest
How many drives in this system? Any type of hardware or software raid?
 
Joined
Feb 24, 2014
Messages
4
I have 3 hdd all (SATA) and the 16 gb verbaatium USB it boots from
1 - WD 3TB red drive for NAS (less then 1 month old)
1 - WD 2TB drive (about 18 months old)
1 - WD 1TB drive (about 36 months old)
both the 1TB & 2TB have only been used for maybe 6 month (if that), i relly only used them when i need to archive a laptop hdd before reformating it.

As for the raid i have not knowing not done anything to setup one up, unless there is a default raid that is installed with FreeNAS?
 
Joined
Feb 24, 2014
Messages
4
I have finally gotten a fsck cmd to run (kind of) and this was the result:
[root@freenas /]# fsck -y -t ufs /dev/ada1 ** /dev/ada1 Cannot find file system superblock ioctl (GCINFO): Inappropriate ioctl for device fsck_ufs: /dev/ada1: can't read disk label
Does this mean the fs is not recoverable? or does it mean something worse the drive might be bad?

I did a list on the "/dev" dir and "ada1" is listed
[root@freenas /dev]# cd /dev [root@freenas /dev]# ls acpi ada2s1 cuau0.lock fuse2 mdctl snp ttyv6 ugen2.1 ad4 agpgart da0 geom.ctl mem stderr ttyv7 ugen3.1 ad4s1 atkbd0 da0s1 ggctl nfslock stdin ttyv8 ugen4.1 ad4s5 audit da0s1a io ntfs stdout ttyv9 ugen4.2 ad4s6 bpf da0s2 iscsi null sysmouse ttyva urandom ad5 bpf0 da0s3 kbd0 pass0 ttyu0 ttyvb usb ad6 cam da0s4 kbd1 pass1 ttyu0.init ttyvc usbctl ad6s1 cd0 devctl kbdmux0 pass2 ttyu0.lock ttyvd xpt0 ada0 console devstat klog pass3 ttyv0 ttyve zero ada0s1 consolectl dtrace kmem pass4 ttyv1 ttyvf zfs ada0s5 crypto fd log pci ttyv2 ufs ada0s6 ctty fido md0 ptmx ttyv3 ufssuspend ada1 cuau0 fuse0 md1 pts ttyv4 ugen0.1 ada2 cuau0.init fuse1 md2 random ttyv5 ugen1.1 [root@freenas /dev]# ^C [root@freenas /dev]#
and the in the GUI ada1 is the 3tb hdd, or have i missed something? (screenshot attached)
 

Attachments

  • 02 27 GUI - list of drives.png
    02 27 GUI - list of drives.png
    51.5 KB · Views: 248
D

dlavigne

Guest
Can you repost the result of the fsck?

Hopefully you're not storing any important data as you have no redundancy.
 
Status
Not open for further replies.
Top