[smurfy@t61 ~]$ ssh smurfy@192.168.0.10 smurfy@192.168.0.10's password: FreeBSD 9.1-STABLE (FREENAS.amd64) #0 r+7f710c8: Fri Jul 12 15:24:36 PDT 2013 FreeNAS (c) 2009-2013, The FreeNAS Development Team All rights reserved. FreeNAS is released under the modified BSD license. For more information, documentation, help or support, go here: http://freenas.org FreeNAS Could not chdir to home directory /mnt/stor/temp: No such file or directory [smurfy@nas] /> su root Password: [smurfy@nas] /# zpool import pool: stor id: 14817132263352275435 state: UNAVAIL status: The pool is formatted using a legacy on-disk version. action: The pool cannot be imported due to damaged devices or data. config: stor UNAVAIL insufficient replicas raidz1-0 UNAVAIL corrupted data gptid/8193e730-6aab-11e2-9f2f-00248c450018 ONLINE gptid/81f6b150-6aab-11e2-9f2f-00248c450018 ONLINE gptid/8255a13f-6aab-11e2-9f2f-00248c450018 ONLINE gptid/8402337d-6aab-11e2-9f2f-00248c450018 ONLINE gptid/8470dafe-6aab-11e2-9f2f-00248c450018 ONLINE raidz1-1 UNAVAIL corrupted data gptid/7ff753f5-edb7-11e2-b265-00248c450018 ONLINE gptid/805c1416-edb7-11e2-b265-00248c450018 ONLINE gptid/80c4b729-edb7-11e2-b265-00248c450018 ONLINE gptid/812e5515-edb7-11e2-b265-00248c450018 ONLINE gptid/8197afa9-edb7-11e2-b265-00248c450018 ONLINE [smurfy@nas] /# zpool import -f stor cannot import 'stor': invalid vdev configuration [smurfy@nas] /# zpool destroy -f stor cannot open 'stor': no such pool [smurfy@nas] /# *** FINAL System shutdown message from root@nas.local *** System going down IMMEDIATELY Connection to 192.168.0.10 closed by remote host. Connection to 192.168.0.10 closed. [smurfy@t61 ~]$ zpool import -FX stor bash: zpool: command not found [smurfy@t61 ~]$ ssh smurfy@192.168.0.10 smurfy@192.168.0.10's password: FreeBSD 9.1-STABLE (FREENAS.amd64) #0 r+7f710c8: Fri Jul 12 15:24:36 PDT 2013 FreeNAS (c) 2009-2013, The FreeNAS Development Team All rights reserved. FreeNAS is released under the modified BSD license. For more information, documentation, help or support, go here: http://freenas.org FreeNAS Could not chdir to home directory /mnt/stor/temp: No such file or directory [smurfy@nas] /> su root Password: [smurfy@nas] /# zpool import -FX stor cannot import 'stor': invalid vdev configuration [smurfy@nas] /# sysctl vfs.zfs.vdev.larger_ashift_disable=1 vfs.zfs.vdev.larger_ashift_disable: 0 -> 1 [smurfy@nas] /# zpool import [smurfy@nas] /# zpool status pool: stor state: ONLINE status: The pool is formatted using a legacy on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on software that does not support feature flags. scan: scrub repaired 0 in 6h26m with 0 errors on Tue Jul 16 04:05:44 2013 config: NAME STATE READ WRITE CKSUM stor ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gptid/8193e730-6aab-11e2-9f2f-00248c450018 ONLINE 0 0 0 gptid/81f6b150-6aab-11e2-9f2f-00248c450018 ONLINE 0 0 0 gptid/8255a13f-6aab-11e2-9f2f-00248c450018 ONLINE 0 0 0 gptid/8402337d-6aab-11e2-9f2f-00248c450018 ONLINE 0 0 0 gptid/8470dafe-6aab-11e2-9f2f-00248c450018 ONLINE 0 0 0 raidz1-1 ONLINE 0 0 0 gptid/7ff753f5-edb7-11e2-b265-00248c450018 ONLINE 0 0 0 gptid/805c1416-edb7-11e2-b265-00248c450018 ONLINE 0 0 0 gptid/80c4b729-edb7-11e2-b265-00248c450018 ONLINE 0 0 0 gptid/812e5515-edb7-11e2-b265-00248c450018 ONLINE 0 0 0 gptid/8197afa9-edb7-11e2-b265-00248c450018 ONLINE 0 0 0 errors: No known data errors [smurfy@nas] /# zpool upgrade This system supports ZFS pool feature flags. The following pools are formatted with legacy version numbers and can be upgraded to use feature flags. After being upgraded, these pools will no longer be accessible by software that does not support feature flags. VER POOL --- ------------ 28 stor Use 'zpool upgrade -v' for a list of available legacy versions. Every feature flags pool has all supported features enabled. [smurfy@nas] /# zpool upgrade -v This system supports ZFS pool feature flags. The following features are supported: FEAT DESCRIPTION ------------------------------------------------------------- async_destroy (read-only compatible) Destroy filesystems asynchronously. empty_bpobj (read-only compatible) Snapshots use less space. lz4_compress LZ4 compression algorithm support. The following legacy versions are also supported: VER DESCRIPTION --- -------------------------------------------------------- 1 Initial ZFS version 2 Ditto blocks (replicated metadata) 3 Hot spares and double parity RAID-Z 4 zpool history 5 Compression using the gzip algorithm 6 bootfs pool property 7 Separate intent log devices 8 Delegated administration 9 refquota and refreservation properties 10 Cache devices 11 Improved scrub performance 12 Snapshot properties 13 snapused property 14 passthrough-x aclinherit 15 user/group space accounting 16 stmf property support 17 Triple-parity RAID-Z 18 Snapshot user holds 19 Log device removal 20 Compression using zle (zero-length encoding) 21 Deduplication 22 Received properties 23 Slim ZIL 24 System attributes 25 Improved scrub stats 26 Improved snapshot deletion performance 27 Improved snapshot creation performance 28 Multiple vdev replacements For more information on a particular version, including supported releases, see the ZFS Administration Guide. [smurfy@nas] /# zpool upgrade -a This system supports ZFS pool feature flags. Successfully upgraded 'stor' from version 28 to feature flags. Enabled the following features on 'stor': async_destroy empty_bpobj lz4_compress [smurfy@nas] /# scrub stor skipping scrubbing of pool 'stor': last scrubbing is 0 days ago, threshold is set to 35 days [smurfy@nas] /# sysctl vfs.zfs.vdev.larger_ashift_disable=0 vfs.zfs.vdev.larger_ashift_disable: 1 -> 0 [smurfy@nas] /# exit exit [smurfy@nas] /> top last pid: 33527; load averages: 0.06, 0.10, 0.26 up 0+01:38:29 18:07:49 43 processes: 1 running, 42 sleeping CPU: 0.0% user, 0.0% nice, 0.0% system, 0.0% interrupt, 100% idle Mem: 162M Active, 168M Inact, 5014M Wired, 1168K Cache, 82M Buf, 10G Free ARC: 4647M Total, 216M MFU, 4392M MRU, 912K Anon, 22M Header, 16M Other Swap: 20G Total, 20G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 2725 root 6 20 0 502M 217M usem 5 1:10 0.00% python2.7 4286 root 7 20 0 122M 14672K uwait 3 0:14 0.00% collectd 15382 root 4 20 0 9896K 1564K rpcsvc 5 0:09 0.00% nfsd 1795 root 1 20 0 14120K 1876K select 3 0:04 0.00% rpcbind 11323 root 2 20 0 106M 21384K select 4 0:01 0.00% python2.7 2359 root 1 20 0 12032K 1564K select 0 0:01 0.00% powerd 1732 root 1 20 0 12028K 1728K select 1 0:01 0.00% syslogd 32760 www 1 20 0 26020K 6360K kqread 2 0:00 0.00% nginx 3489 root 1 52 0 139M 43044K ttyin 5 0:00 0.00% python2.7 15331 root 1 20 0 12032K 2044K select 2 0:00 0.00% mountd 3704 root 1 22 0 69912K 5732K select 4 0:00 0.00% sshd 2612 root 1 20 0 36452K 5260K select 4 0:00 0.00% proftpd 2857 root 1 20 0 9900K 1812K nanslp 3 0:00 0.00% inadyn-mt 3718 smurfy 1 20 0 69912K 5740K select 1 0:00 0.00% sshd 2674 root 1 20 0 71616K 7660K select 2 0:00 0.00% nmbd 4933 smurfy 1 20 0 69912K 5744K select 1 0:00 0.00% sshd 31298 root 1 20 0 22208K 4080K select 1 0:00 0.00% ntpd 2837 avahi 1 20 0 30312K 3028K select 3 0:00 0.00% avahi-daemon 15381 root 1 20 0 9896K 1744K select 3 0:00 0.00% nfsd 2677 root 1 20 0 80428K 11248K select 0 0:00 0.00% smbd 28088 root 1 52 0 14120K 1816K nanslp 1 0:00 0.00% cron 4921 root 1 20 0 69912K 5748K select 3 0:00 0.00% sshd 3719 smurfy 1 20 0 17512K 3368K pause 4 0:00 0.00% tcsh 2682 root 1 20 0 80428K 11236K select 0 0:00 0.00% smbd 4934 smurfy 1 20 0 17512K 3404K ttyin 3 0:00 0.00% tcsh 33526 smurfy 1 20 0 16548K 2576K CPU4 4 0:00 0.00% top [smurfy@nas] /> smartctl -H smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org ERROR: smartctl requires a device name as the final command-line argument. Use smartctl -h to get a usage summary [smurfy@nas] /> smartctl -H /dev/ada0 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org /dev/xpt0 control device couldn't opened: Permission denied Unable to get CAM device list /dev/ada0: Unable to detect device type Please specify device type with the -d option. Use smartctl -h to get a usage summary [smurfy@nas] /> su root Password: [smurfy@nas] /# smartctl -H /dev/ada0 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED [smurfy@nas] /# smartctl -H /dev/ada1 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED [smurfy@nas] /# smartctl -H /dev/ada2 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED [smurfy@nas] /# smartctl -H /dev/ada3 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED Please note the following marginal Attributes: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 190 Airflow_Temperature_Cel 0x0022 054 036 045 Old_age Always In_the_past 46 (13 239 46 46 0) [smurfy@nas] /# smartctl -H /dev/ada4 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED [smurfy@nas] /# smartctl -H /dev/da0 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED [smurfy@nas] /# smartctl -H /dev/da1 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED [smurfy@nas] /# smartctl -H /dev/da2 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED [smurfy@nas] /# smartctl -H /dev/da3 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED [smurfy@nas] /# smartctl -H /dev/da4 smartctl 6.1 2013-03-16 r3800 [FreeBSD 9.1-STABLE amd64] (local build) Copyright (C) 2002-13, Bruce Allen, Christian Franke, www.smartmontools.org === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED [smurfy@nas] /# logout Not a login shell. [smurfy@nas] /#