Sponsored Content
Full Discussion: ZFS Help!!! Can I fix this??
Operating Systems Solaris ZFS Help!!! Can I fix this?? Post 302277777 by lacakid on Sunday 18th of January 2009 01:07:12 AM
Old 01-18-2009
ZFS Help!!! Can I fix this??

Well I got ZFS going almost in version one and didn't have the money to raid it or mirror it. I run off of 7 - 750GB-1TB USB drives and it's run great for over a year. Recently I needed to power off and move some stuff around and when I powered it back on I got this:
========================================================
solaris# zpool import

pool: sun1
id: 1830431416924244313
state: ONLINE
status: One or more devices contains corrupted data.
action: The pool can be imported using its name or numeric identifier.
see: Sun Message ID: ZFS-8000-4J
config:
sun1 ONLINE
c3t0d0 ONLINE
c2t0d0 ONLINE
c1t0d0 ONLINE
c5t0d0 ONLINE
c6t0d0 ONLINE
c4t0d0 UNAVAIL corrupted data
c7t0d0 ONLINE
=======================================================

When I attempt to do a:

# zpool import sun1

it just hangs, I know there is a bad drive on c4 but since the zpool
group is exported I cannot replace the bad drive... Is there aything I
can do to recover at least what is on the other drives? Any tools??

If I have to box everything up until Sun finds a waty out for this I guess
I can wait but I rather get it fixed, lot's of stuff on there...

Scott
 

8 More Discussions You Might Find Interesting

1. Solaris

ZFS Question

We are looking into testing ZFS at our location. Because we are a government agency we have security and auditors breathing down our neck to make sure we are not opening any security holes. My question is are there any ports or security concerns I would need to address if implemnting a ZFS file... (3 Replies)
Discussion started by: rkruck
3 Replies

2. Solaris

Are you using ZFS ?

With Solaris 11 coming out with a requirement of ZFS on the root disk, I was curious to know who is using the Zeta File System now? I have been using ZFS for the past year and don't plan to go back to UFS since ZFS is much more reliable and easier to maintain. (13 Replies)
Discussion started by: bluescreen
13 Replies

3. Solaris

ZFS Issues

Hi, I am nowusing ZFS since some weeks and now I have 2 questions: 1) in zpool I saw some disk added with the *s2 at the end, I have in mind that should not be ? is this right and if so can I get the *s2 disk out of the zpool ? 2) Zpool has still 2 spare disk but when I try to create a new... (6 Replies)
Discussion started by: manni2
6 Replies

4. Solaris

zfs rollback

i created a snapshot as follow as bash-3.00# zfs snapshot dinu/dinu1@dinusnap1 then i deleted the contents in the directory dinu1 now i want to rollback that contents from snapshot and i used bash-3.00# zfs rollback dinu/dinu1/@dinusnap1 but i received error as follow as cannot... (3 Replies)
Discussion started by: dinu
3 Replies

5. Solaris

ZFS

what are all the advantages of ZFS comparing to UFS SVM what is the use of creating file system in a file system in ZFS (15 Replies)
Discussion started by: dinu
15 Replies

6. Solaris

zfs migration

Hello, I want to migrate one of my ZFS root filesystem to a new disk on the same server. Can someone please guide me for the same? This is a Solaris 10 box running on Intel. # df -h /setup Filesystem size used avail capacity Mounted on root/ROOT/zfsroot/setup ... (1 Reply)
Discussion started by: mahive
1 Replies

7. Solaris

ZFS

Hi, I need some advice please. I have this server with a couple of zpools, lets call them pay_serv ukb_pool There are two zones attached to these pools. When I do a zfs list I see this pay_serv 8.41G 265G 8.41G /pay_serv ukb_pool 79.8G 194G 23K /ukb_pool ukb_pool/temp_ps 9.11G... (4 Replies)
Discussion started by: giles.cardew
4 Replies

8. Solaris

ZFS Filesystem

Hi, Recently we have new server T5 Oracle. We set up it for our database. For out database files we set one zfs filesystem. When i use iostat -xc the output as below. As you see the value for vdc4 is quite high. extended device statistics cpu device ... (32 Replies)
Discussion started by: tharmendran
32 Replies
AMZFS-SNAPSHOT(8)					  System Administration Commands					 AMZFS-SNAPSHOT(8)

NAME
amzfs-snapshot - Amanda script to create zfs snapshot DESCRIPTION
amzfs-snapshot is an Amanda script implementing the Script API. It should not be run by users directly. It create a zfs snapshot of the filesystem where the path specified is mounted. PRE-DLE-* create a snapshot and the POST-DLE-* destroy the snapshot, *-DLE-AMCHECK, *-DLE-ESTIMATE and *-DLE-BACKUP must be set to be executed on the client: execute-on pre-dle-amcheck, post-dle-amcheck, pre-dle-estimate, post-dle-estimate, pre-dle-backup, post-dle-backup execute-where client The PRE_DLE_* script output a DIRECTORY property telling where the directory is located in the snapshot. The application must be able to use the DIRECTORY property, amgtar can do it. The script is run as the amanda user, it must have the priviledge to create and destroy snapshot: zfs allow -ldu AMANDA_USER mount,snapshot,destroy FILESYSTEM Some system doesn't have "zfs allow", but you can give the Amanda backup user the rights to manipulate ZFS filesystems by using the following command: usermod -P "ZFS File System Management,ZFS Storage Management" AMANDA_USER This will require that your run zfs under pfexec, set the PFEXEC property to YES. The format of the DLE must be one of: Desciption Example ---------- ------- Mountpoint /data Arbitrary mounted dir /data/interesting_dir ZFS pool name datapool ZFS filesystem datapool/database ZFS logical volume datapool/dbvol The filesystem must be mounted. PROPERTIES
This section lists the properties that control amzfs-snapshot's functionality. See amanda-scripts(7) for information on the Script API, script configuration. DF-PATH Path to the 'df' binary, search in $PATH by default. ZFS-PATH Path to the 'zfs' binary, search in $PATH by default. PFEXEC-PATH Path to the 'pfexec' binary, search in $PATH by default. PFEXEC If "NO" (the default), pfexec is not used, if set to "YES" then pfexec is used. EXAMPLE
In this example, a dumptype is defined to use amzfs-snapshot script to create a snapshot and use amgtar to backup the snapshot. define script-tool amzfs_snapshot { comment "backup of zfs snapshot" plugin "amzfs-snapshot" execute-on pre-dle-amcheck, post-dle-amcheck, pre-dle-estimate, post-dle-estimate, pre-dle-backup, post-dle-backup execute-where client #property "DF-PATH" "/usr/sbin/df" #property "ZFS-PATH" "/usr/sbin/zfs" #property "PFEXEC-PATH" "/usr/sbin/pfexec" #property "PFEXEC" "NO" } define dumptype user-zfs-amgtar { dt_amgtar script "amzfs_snapshot" } SEE ALSO
amanda(8), amanda.conf(5), amanda-client.conf(5), amanda-scripts(7) The Amanda Wiki: : http://wiki.zmanda.com/ AUTHORS
Jean-Louis Martineau <martineau@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Dustin J. Mitchell <dustin@zmanda.com> Zmanda, Inc. (http://www.zmanda.com) Amanda 3.3.1 02/21/2012 AMZFS-SNAPSHOT(8)
All times are GMT -4. The time now is 08:36 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy