Nikhil
2010-08-24 07:39:13 UTC
Hi,
I have a netbooted node on which I am using a zfspool built with
mirror configuration on top of the two disks for arbitrary storage. On
top of the zfspool, the zfs swap filesystem is also used. Once in a
while I keep running into the problem where the zpool status -v
reports problems with swap filesystem and following is the depiction
of the error.
=================================================================
# zpool status -v
pool: zpool0
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore
the
entire pool from backup.
see: http://www.sun.com/msg/ZFS-8000-8A
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
zpool0 ONLINE 0 0 4
c0t0d0 ONLINE 0 0 4
errors: Permanent errors have been detected in the following files:
zpool0/swap:<0x1>
=================================================================
Since the machine is a netbooted and I configure the zfspool everytime
the machine reboots , this problem can get resolved since the
filesystem is going to be also newly created.
But Apart from the reboot, I am not finding any solution that can be
used to fix this problem while keeping the host online without
disturbing any of the applications.
Is there a way that will follow what the action item from the status
summary tells, as in finding the file in question? and the file in
question is in a no way of clue as the file is shown in hex.
What is the solution to this problem? Why does this keep occurring in
its first place? How can it be avoided? How can it be fixed?
Appreciate your knowledge transferr on this.
Thanks,
Nikhil
I have a netbooted node on which I am using a zfspool built with
mirror configuration on top of the two disks for arbitrary storage. On
top of the zfspool, the zfs swap filesystem is also used. Once in a
while I keep running into the problem where the zpool status -v
reports problems with swap filesystem and following is the depiction
of the error.
=================================================================
# zpool status -v
pool: zpool0
state: ONLINE
status: One or more devices has experienced an error resulting in data
corruption. Applications may be affected.
action: Restore the file in question if possible. Otherwise restore
the
entire pool from backup.
see: http://www.sun.com/msg/ZFS-8000-8A
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
zpool0 ONLINE 0 0 4
c0t0d0 ONLINE 0 0 4
errors: Permanent errors have been detected in the following files:
zpool0/swap:<0x1>
=================================================================
Since the machine is a netbooted and I configure the zfspool everytime
the machine reboots , this problem can get resolved since the
filesystem is going to be also newly created.
But Apart from the reboot, I am not finding any solution that can be
used to fix this problem while keeping the host online without
disturbing any of the applications.
Is there a way that will follow what the action item from the status
summary tells, as in finding the file in question? and the file in
question is in a no way of clue as the file is shown in hex.
What is the solution to this problem? Why does this keep occurring in
its first place? How can it be avoided? How can it be fixed?
Appreciate your knowledge transferr on this.
Thanks,
Nikhil