Unable to import UFS drives created in FreeNAS 0.7

Status
Not open for further replies.

Maui

Cadet
Joined
Jan 14, 2012
Messages
8
Hi,

Have previously been using FreeNAS 0.7 and am now trying to upgrade to FreeNAS 8.0.3.

The installation has been successful but I cannot import my ufs formatted drives from before.
One difference now is that they are attached to a SATA IO card rather than directly to the motherboard. Card is a STLab A-370 PCI-e Serial ATA II.

All drives are visible in dmesg.

Auto Import Volume finds nothing. Selecting Import Volume shows the drives [ada0p1, ada1p1, ada2p1] but trying to import them seems to spend a long time doing nothing.

How long would it be expected to take to import a volume? All 3 drives are 2Tb WD Green.

Reselecting one of the drives gives the error 'An error occurred while labeling the disk.'.

Where do I go from here?

Thanks
M
 

Maui

Cadet
Joined
Jan 14, 2012
Messages
8
So there are no suggestions???

Can anyone confirm that the STLab A-370 PCI-e Serial ATA II is ok or not?

Can anyone comment on how long it should take to import a ufs volume?

If there is any other info I can supply, then please let me know.

M
 

Maui

Cadet
Joined
Jan 14, 2012
Messages
8
All appears to be fine:

[maui@freenas] /# mount /dev/ada0p1 /mnt/test
[maui@freenas] /# ls /mnt/test

[correct filelist omitted]

[maui@freenas] /# umount /mnt/test
[maui@freenas] /# fsck -t ufs /dev/ada0p1
** /dev/ada0p1 (NO WRITE)
** Last Mounted on /mnt/test
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
9374 files, 327918598 used, 152784895 free (719 frags, 19098022 blocks, 0.0% fragmentation)


Still cannot add the drive in FreeNAS.

Get the error: The selected disks were not verified for this import rules.

Is there any logging available to see what it is trying to do?
 

Maui

Cadet
Joined
Jan 14, 2012
Messages
8
Based on this, it appears that:

1. The drive is ok and filesystem is UFS.
2. The BSD OS can mount and read the drive
3. Although FreeNAS knows that it is there, it cannot mount it with UFS selected.

Any ideas, as we currently have a 6Tb NAS that is unusable.
 

Maui

Cadet
Joined
Jan 14, 2012
Messages
8
Have installed 8.2.1 alpha r9626 from 21 Jan 2012.

- Selecting 'View Disks' shows the USB boot drive and the 3 installed HD. Great.

- Selecting 'Import Volume'
- Drive Name = ALPHA
- Disk = ada0p1
- Filesystem type = UFS

- Result = 'The selected disks were not verified for this import rules'.

:(
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Yes, you can update via web...

Paste output of ls -l /dev/ada0* and tail -n 20 /var/log/messages right after trying to import
 

Maui

Cadet
Joined
Jan 14, 2012
Messages
8
[maui@freenas] /> ls -l /dev/ada0*
crw-r----- 1 root operator 0, 101 Jan 31 22:29 /dev/ada0
crw-r----- 1 root operator 0, 109 Jan 31 22:29 /dev/ada0p1

[maui@freenas] /> tail -n 20 /var/log/messages
Jan 31 23:16:00 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo ada0
Jan 31 23:16:00 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo da0
Jan 31 23:16:00 freenas middleware[1972]: Popen()ing: /sbin/kldstat -v
Jan 31 23:16:23 freenas middleware[1972]: Popen()ing: zpool import
Feb 1 07:16:24 freenas kernel: ZFS NOTICE: Prefetch is disabled by default on i386 -- to enable,
Feb 1 07:16:24 freenas kernel: add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
Feb 1 07:16:24 freenas kernel: ZFS WARNING: Recommended minimum kmem_size is 512MB; expect unstable behavior.
Feb 1 07:16:24 freenas kernel: Consider tuning vm.kmem_size and vm.kmem_size_max
Feb 1 07:16:24 freenas kernel: in /boot/loader.conf.
Feb 1 07:16:24 freenas kernel: ZFS filesystem version 4
Feb 1 07:16:24 freenas kernel: ZFS storage pool version 15
Feb 1 00:35:29 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo ada2
Feb 1 00:35:29 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo ada1
Feb 1 00:35:29 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo ada0
Feb 1 00:35:29 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo da0
Feb 1 00:35:42 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo ada2
Feb 1 00:35:42 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo ada1
Feb 1 00:35:42 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo ada0
Feb 1 00:35:42 freenas middleware[1972]: Popen()ing: /usr/sbin/diskinfo da0
Feb 1 00:35:42 freenas middleware[1972]: Popen()ing: /sbin/fsck_ufs -p /dev/ada0p1
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
Thats is pretty weird..

Please run

# /sbin/fsck_ufs -p /dev/ada0p1
# $?


Paste the output of both, thanks
 
Status
Not open for further replies.
Top