View Single Post
  #1   (View Single Post)  
Old 5th November 2008
Bubba_HoTep Bubba_HoTep is offline
New User
 
Join Date: Nov 2008
Posts: 6
Default can't access ZFS drives

Hi,

I have a 64 bit FreeBSD7.0 server that I'm using as a backup server. I have a ZFS pool that to appears to be ok:

$ sudo zpool status -x
all pools are healthy

And all the filesystems appear in df output:
$ df
Filesystem Size Used Avail Capacity Mounted on
/dev/ad4s1a 272M 197M 53M 79% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad4s1e 161M 22K 148M 0% /tmp
/dev/ad4s1f 2.2G 1.2G 836M 60% /usr
/dev/ad4s1d 210M 7.9M 185M 4% /var
data/corporate 3.0T 941G 2.1T 30% /corporate
data 2.1T 128K 2.1T 0% /data
data/disco 2.3T 231G 2.1T 10% /disco
data/email 2.4T 255G 2.1T 11% /email
data/hphome 2.1T 24G 2.1T 1% /hphome
data/misc 2.1T 14G 2.1T 1% /misc
data/corporate@FriOct17-08:1224266291 3.0T 948G 2.1T 31% /corporate/.zfs/snapshot/FriOct17-08:1224266291
data/corporate@MonOct20-08:1224513013 3.0T 934G 2.1T 30% /corporate/.zfs/snapshot/MonOct20-08:1224513013
data/corporate@TueOct14-08:1224058974 3.0T 938G 2.1T 30% /corporate/.zfs/snapshot/TueOct14-08:1224058974
data/corporate@WedOct15-08:1224082275 3.0T 937G 2.1T 30% /corporate/.zfs/snapshot/WedOct15-08:1224082275
data/corporate@WedOct22-08:1224680388 3.0T 936G 2.1T 30% /corporate/.zfs/snapshot/WedOct22-08:1224680388
data/corporate@ThuOct16-08:1224169692 3.0T 947G 2.1T 30% /corporate/.zfs/snapshot/ThuOct16-08:1224169692

And all the physical disks are present:
$ ls /dev/ | grep ^ad
ad10
ad12
ad4
ad4s1
ad4s1a
ad4s1c
ad4s1d
ad4s1e
ad4s1f
ad6
ad7
ad8
ad9

(ad4, a CF card, is my system disk)

However any time I try to access any of the ZFS filesystems (all in the pool "data") the system just hangs.

So a
$ ls /corporate
or
$ cd /corporate

will hang the system. Obviously I can't get to my data although it appears to be there.

I can perform operations ok on anything on ad4, the system disk.

I added these lines

vm.kmem_size="1536M"
vm.kmem_size_max="1536M"

to my /boot/loader.conf file as per the instructions at http://wiki.freebsd.org/ZFSTuningGuide
and the system is 64 bit with 4G RAM.
All the server has been doing is receiving nightly rsyncs which it did ok for about a month.


I'm new to freeBSD and have kinda run outta ideas of what to try next.


Can anyone help?
Reply With Quote