Re: ZFS error
- From: "Vahid Moghaddasi" <vahid.moghaddasi@xxxxxxxxx>
- Date: 6 Jul 2006 06:46:21 -0700
Casper H.S. *** wrote:
"Vahid Moghaddasi" <vahid.moghaddasi@xxxxxxxxx> writes:Thanks Casper that was it. Here is what I did:
zpool status -x
pool: zpool_data
state: FAULTED
status: One or more devices could not be opened. There are
insufficient
replicas for the pool to continue functioning.
action: Attach the missing device and online it using 'zpool online'.
see: http://www.sun.com/msg/ZFS-8000-D3
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
zpool_data UNAVAIL 0 0 0 insufficient replicas
c0t0d0s5 UNAVAIL 0 0 0 cannot open
zpool list shows the pool:
# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
zpool_data - - - - FAULTED -
The above "REC-ACTION" suggests to attache the missing device or
restore from backup, what backup is he talking about? I tried to attach
the the device to the pool but I get "pool is currently
unavailable" error.
I can probably remove the pool and recreate it but I wan to figure out
why do I get this nasty error? Can't I dd the disk and expect it to
work? Where did my data go?
There is no guarantee that a "dd" will deliver you something the system
thinks is exactly the same, though disk IDs are usually derived from
the label, that is not always the case.
You could try:
rm /etc/zfs/zpool.cache
reboot and then:
zfs import
which would hopefully find the ZFS filesystem and correctly assign the
device entry to it.
- rm /etc/zfs/zpool.cache
- reboot (I saw no errors)
- zpool import -f
output:
pool: zpool_data
id: 3248620964517323342
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
The pool may be active on on another system, but can be
imported using
the '-f' flag.
config:
zpool_data ONLINE
c0t0d0s5 ONLINE
- zpool list
no pools available
- zpool import -f 3248620964517323342
- zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
zpool_data 44.2G 220K 44.2G 0% ONLINE -
Even the ZFS are mounted:
# df -kF zfs
Filesystem kbytes used avail capacity Mounted on
zpool_data 45674496 24 45674349 1% /zpool_data
zpool_data/data 6291456 24 6291431 1% /data
zpool_data/prod 6291456 24 6291431 1% /prod
Thank for the help,
Vahid.
.
- References:
- ZFS error
- From: Vahid Moghaddasi
- Re: ZFS error
- From: Casper H . S . ***
- ZFS error
- Prev by Date: Re: How to run GUI-program on Solaris 8 automatically after log in??
- Next by Date: 6/06: firewire not functionnal?
- Previous by thread: Re: ZFS error
- Next by thread: Adjusting the 'beep' volume on dtterm
- Index(es):