Zpool device weirdness


 
Thread Tools Search this Thread
Operating Systems Solaris Zpool device weirdness
# 1  
Old 06-02-2014
Zpool device weirdness

Weird duplicate device in one of my nested raidz1s - device is shown as both online and unavailable, with a hot spare showing up as degraded as well.

Any thoughts on how I should proceed?

Code:
root@storage# zpool status tank
  pool: tank
 state: DEGRADED
status: One or more devices are unavailable in response to persistent errors.
        Sufficient replicas exist for the pool to continue functioning in a
        degraded state.
action: Determine if the device needs to be replaced, and clear the errors
        using 'zpool clear' or 'fmadm repaired', or replace the device
        with 'zpool replace'.
        Run 'zpool status -v' to see device specific details.
  scan: resilvered 153G in 10h3m with 0 errors on Mon Feb 24 07:03:05 2014
config:

        NAME           STATE     READ WRITE CKSUM
        tank           DEGRADED     0     0     0
          raidz1-0     ONLINE       0     0     0
            c9t60d0    ONLINE       0     0     0
            c9t32d0    ONLINE       0     0     0
            c9t39d0    ONLINE       0     0     0
            c9t41d0    ONLINE       0     0     0
            c9t56d0    ONLINE       0     0     0
          raidz1-1     ONLINE       0     0     0
            c9t2d0     ONLINE       0     0     0
            c9t33d0    ONLINE       0     0     0
            c9t59d0    ONLINE       0     0     0
            c9t38d0    ONLINE       0     0     0
            c9t44d0    ONLINE       0     0     0
          raidz1-2     DEGRADED     0     0     0
            spare-0    DEGRADED     0     0     0
              c9t47d0  UNAVAIL      0     0     0
              c9t47d0  ONLINE       0     0     0
            c9t18d0    ONLINE       0     0     0
            c9t35d0    ONLINE       0     0     0
            c9t55d0    ONLINE       0     0     0
            c9t53d0    ONLINE       0     0     0
          raidz1-3     ONLINE       0     0     0
            c9t16d0    ONLINE       0     0     0
            c9t54d0    ONLINE       0     0     0
            c9t20d0    ONLINE       0     0     0
            c9t14d0    ONLINE       0     0     0
            c9t42d0    ONLINE       0     0     0
          raidz1-4     ONLINE       0     0     0
            c9t17d0    ONLINE       0     0     0
            c9t15d0    ONLINE       0     0     0
            c9t13d0    ONLINE       0     0     0
            c9t3d0     ONLINE       0     0     0
            c9t11d0    ONLINE       0     0     0
          raidz1-5     ONLINE       0     0     0
            c9t57d0    ONLINE       0     0     0
            c9t45d0    ONLINE       0     0     0
            c9t34d0    ONLINE       0     0     0
            c9t4d0     ONLINE       0     0     0
            c9t43d0    ONLINE       0     0     0
          raidz1-6     ONLINE       0     0     0
            c9t12d0    ONLINE       0     0     0
            c9t5d0     ONLINE       0     0     0
            c9t19d0    ONLINE       0     0     0
            c9t58d0    ONLINE       0     0     0
            c9t37d0    ONLINE       0     0     0
        logs
          mirror-7     ONLINE       0     0     0
            c7t2d0     ONLINE       0     0     0
            c7t3d0     ONLINE       0     0     0
        cache
          c7t4d0       ONLINE       0     0     0
          c7t5d0       ONLINE       0     0     0
        spares
          c9t49d0      INUSE   
          c9t50d0      AVAIL   
          c9t40d0      AVAIL

# 2  
Old 06-03-2014
Well backup first Smilie

Are your format/cfgadm/zpool/zfs commands working properly (not hanging or such?)

You might want to check out that disk using format (printing partitions and stuff - non destructive).

Check out zpool history <pool> for actions made on that zpool which might have caused it (if any), dmesg or messages should log i/o errors or path failures.

You can umount your zfs filesystems, export the pool, then import it in hope the error will go away Smilie
# 3  
Old 06-04-2014
Thanks for the suggestions! Much appreciated - I'll try these out later tonight.
# 4  
Old 06-12-2014
Follow up -

I can't get this zpool to export, even in single user mode. The pool contains three zfs filesystems, each of which contain a zfs iSCSI volume mounted on another server. The host that mounts these iSCSI volumes has been shut off so I can do maintenance on this host.

Should I just offline the offending device and have one of the newly added hot spares kick in? I'm out of ideas.
# 5  
Old 06-12-2014
Please provide error message which is displayed during export ?

Can you use zfs umount command on filesystems which are mounted before zpool export

Can you stop ISCSI target on server before exporting zpool ?

Regards
Peasant.

Last edited by Peasant; 06-12-2014 at 09:00 AM.. Reason: replaced target for initiator, mistake..
# 6  
Old 06-12-2014
I booted into single-user more hoping I could perform this command, but I get the same error.
Code:
root@storage:~# zpool export tank
cannot unmount '/tank': Device busy

When I try to do a zfs unmount on my three file systems in single user mode, I get this error:
Code:
root@storage:~# zfs unmount tank/disk2
cannot open 'tank/disk2': operation not applicable to datasets of this type

# 7  
Old 06-13-2014
Please check if ISCSI target service is running and stop it.
svcs -l iscsi/target
This is probably the reason you are getting the error that the pool is being used.

Then try to export the zpool and re-import it.

If you backuped the data, you can just try a simple reboot (since that will reimport the zpool)

Hope that helps
Regards
Peasant.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Joining 3 line weirdness

Hi all you Unix/Linux gurus, So, I have something strage going on and need a sanity check... I have 2 files that both contain 3 lines of text... File1 - called t: CN66270E90 94:57:a5:d3:db:aa 94:57:a5:d3:db:ab File2 - called tt: hostname 5.7.2.7 72:8C:36:3B:5A:17 (2 Replies)
Discussion started by: joeg1484
2 Replies

2. Solaris

Solaris 11 sysconfig and zones weirdness

when I create a new zone either via zfs export template or installing the OS from the .iso I get a weird problem. once I create the zone and login for the first time to the console I get the sysconfig menu. I do the config setup and exit the zone boots normally. The next time I reboot, I have to do... (0 Replies)
Discussion started by: os2mac
0 Replies

3. HP-UX

Failed to open tape device /dev/rmt/0mn:Device busy (errno = 16)

Hi, Unable to make tape backup, please help. /opt/ignite/bin/make_tape_recovery -a /dev/rmt/?mn -I -v -m tar -x inc_entire=vg00 * Creating local directories for configuration files and archive. ======= 04/25/16 16:28:08 IST Started /opt/ignite/bin/make_tape_recovery. (Mon... (4 Replies)
Discussion started by: anuragr
4 Replies

4. Solaris

zones: Use a zpool or mount as a raw device?

Hi, I need to create 4 zones. I have an array with a RAID5 volume. I have exported 4 LUNS from the array. Now my host see the 4 LUNS as raw devices. I am partitioning each LUN using format then mounting each slice on the global zone. Then I am using each slice as a file system for my non... (3 Replies)
Discussion started by: general_lee
3 Replies

5. Shell Programming and Scripting

File path weirdness

I want to be able to drag and drop a file into a script in the terminal but it doesn't like the /home/user prefix. How do I get around this? (8 Replies)
Discussion started by: pluto7777
8 Replies

6. UNIX for Dummies Questions & Answers

gedit newline weirdness

I have this file cd /media/AUDIO/WAVE/9780743561181 ~/Desktop/mp3-to-m4b 9780743561181-UNLEASHING THE IDEA VIRUS "UNLEASHING THE IDEA VIRUS" "GODIN, SETH" 2006 n cd /media/AUDIO/WAVE/9780743561204 ~/Desktop/mp3-to-m4b 9780743561204-STALIN'S GHOST "STALIN'S GHOST" "SMITH, MARTIN" 2007 n cd... (1 Reply)
Discussion started by: glev2005
1 Replies

7. Solaris

Import zpool with missing slog device

Hello, I have a problem on my backup server. I lost my system hdd and my separate ZIL device while the system crashs and now I'm in trouble. The old system was running under the least version of osol/dev (snv_134) with zfs v22. After the server crashs I was very optimistic of solving the problems... (2 Replies)
Discussion started by: ron2105
2 Replies

8. Solaris

SSH weirdness

I've configured a new container/zone on Solaris 10 (Sparc) and I'm using Centrify for LDAP authentication to AD. My ssh client is as follows Sun_SSH_1.1.1, SSH protocols 1.5/2.0, OpenSSL 0x0090704f I'm seeing some strange behavior from ssh. When I ssh onto the new zone to myself (non-root... (2 Replies)
Discussion started by: CDM
2 Replies

9. IP Networking

ftp and ssh weirdness

i've just setup my desktop (ubuntu 8.04) to run vsftpd and sshd. i have two laptops, both running linux. on one laptop i can connect to the desktop via ftp and ssh and everything works fine. so i don't think there's a problem with the server. on the other laptop i can't connect to the desktop... (3 Replies)
Discussion started by: darkmatter14B
3 Replies

10. UNIX for Dummies Questions & Answers

cygwin bash startup command weirdness (part 1)

I am running (I believe) the latest stable version of cygwin CYGWIN_NT-5.1 1.5.24(0.156/4/2) 2007-01-31 10:57 i686 Cygwin on a win xp sp2 laptop. Suppose, to make things simple for now (but I may do a part 2 posting...), that I am in a dos shell, and I want to create a bash shell and have it... (1 Reply)
Discussion started by: fabulous2
1 Replies
Login or Register to Ask a Question