Full zfs - cannot import


 
Thread Tools Search this Thread
Operating Systems Solaris Full zfs - cannot import
# 1  
Old 10-12-2011
Full zfs - cannot import

I installed Solaris 11 Express on my machine and created a raidz2 filesystem over 5 harddrives.

Thas was a few months ago. Unfortunately, yesterday I made a mistake in free space calculation and tried to copy more data to the fs than how much space there was.

When the fs got full, the computer got immediately restarted and now everytime I try to import the full filesystem, the computer gets restarted again.

The data on the fs are quite valuable to me.

Please tell me how to get my data back and how to prevent such situation in the future (setting some quota somehow)?

Thanks in advance,
Dusan
# 2  
Old 10-12-2011
Did you try booting from Solaris 11 Express DVD and importing the pool there? Then you can remove some files to free space.
# 3  
Old 10-13-2011
I tried booting from an Solaris 11 Express USB live flashdisc and importing the pool there but even there when I typed zfs import the computer restarted.

Dusan
# 4  
Old 10-14-2011
You might try to import the pool with the "readonly=on", "failmode=continue" options, and possibly also in recovering mode "-F".
# 5  
Old 10-19-2011
This worked - thank you jlliagre.

I am now interested in what is the best way to prevent such situations (e.g. having a full zfs filesystem and having to take these special steps to repair that)? Ideally it would never allow me to fill the filesystem so much that it would stop working like this time.

Thanks
Dusan
# 6  
Old 10-19-2011
You can set ZFS quota on the filesystem. Check ZFS Quotas and Reservations - Solaris ZFS Administration Guide
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

100% Inode full with only 67% FS full.

AIX Version 6.1 and 7.1. I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device. It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies

2. UNIX for Dummies Questions & Answers

How can I import a particular schema from full dump in Oracle?

Hi All, I have a full oracle dump file that I have exported from a production server. I want to import a specific schema out of the full dump. Is that possible in oracle. What will be the command for that? (6 Replies)
Discussion started by: Palak Sharma
6 Replies

3. Shell Programming and Scripting

How to extract strings from full path when full path is not fixed

/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird14/nrfCompMgrRave920100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.... (0 Replies)
Discussion started by: Shirisha
0 Replies

4. Solaris

ZFS Root Import Access

I have a PC running Solaris 10. My Sun V60x (Intel) recently broke and I took out one of the (mirrored root) drives and connected them to the PC and tried to access it. I imported it but can only access a "data" directory and nothing of the Solaris filesystem. It only has one partition: ... (4 Replies)
Discussion started by: pettefar
4 Replies

5. Solaris

Local Full Backup and Restore ZFS

Hi men, I'm testing for my backup&restore job with ZFS. My server have two disks. I wanna do backup&restore job like ufsdump utility: Disk0 is rpool(root zpool) and disk1 (backup zpool) will be stored full backup replicates. When rpool zpool have problem, i can "boot cdrom -s" and use my... (5 Replies)
Discussion started by: tien86
5 Replies

6. Solaris

unable to import zfs pool

# zpool import pool: emcpool1 id: 5596268873059055768 state: UNAVAIL status: One or more devices are missing from the system. action: The pool cannot be imported. Attach the missing devices and try again. see: Sun Message ID: ZFS-8000-3C config: emcpool1 ... (7 Replies)
Discussion started by: fugitive
7 Replies

7. Solaris

Export/import ZFS ACL's

I've been wondering about this one, is there any way to do the following with ZFS ACL's (i.e. "copy" the ACL over to another file)? getfacl /bla/dir1 | setfacl -f - /bla/dir2 I know about inheritence on dirs, it doesn't work in this scenario I'm working on. Just looking to copy the ACL's. ... (3 Replies)
Discussion started by: vimes
3 Replies

8. UNIX for Dummies Questions & Answers

import

Dear All, If while the databsae was shut down, an import command has been done. Will the import result will return 1? Best Regards, Omran (1 Reply)
Discussion started by: omran
1 Replies

9. Shell Programming and Scripting

import

i'm importing tables to oracle 7, but sometimes import give me warnings (not failures) how can i rollback the whole imported tables if warnings occured please advise thanx (2 Replies)
Discussion started by: omran
2 Replies
Login or Register to Ask a Question