ZFS Root Import Access


 
Thread Tools Search this Thread
Operating Systems Solaris ZFS Root Import Access
# 1  
Old 05-02-2010
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:

Code:
Primary label contents:
Volume name = <        >
ascii name  = <DEFAULT cyl 36469 alt 2 hd 255 sec 63>
pcyl        = 36471
ncyl        = 36469
acyl        =    2
bcyl        =    0
nhead       =  255
nsect       =   63
Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       1 - 36422      279.01GB    (36422/0/0) 585119430
  1 unassigned    wu       0                0         (0/0/0)             0
  2     backup    wm       0 - 36468      279.37GB    (36469/0/0) 585874485
  3 unassigned    wm       0                0         (0/0/0)             0
  4 unassigned    wm       0                0         (0/0/0)             0
  5 unassigned    wm       0                0         (0/0/0)             0
  6 unassigned    wm       0                0         (0/0/0)             0
  7 unassigned    wm       0                0         (0/0/0)             0
  8       boot    wu       0 -     0        7.84MB    (1/0/0)         16065
  9 unassigned    wm       0                0         (0/0/0)             0

-bash-3.00# zpool list
NAME       SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
bigzpool   278G   223G  54.9G    80%  DEGRADED  -
rzpool    18.9G  8.58G  10.3G    45%  ONLINE  -

-bash-3.00# ls /bigzpool/
boot      data      etc       platform  zdata

All my data is in zdata but where is and how can I get access to the old operating system files (/usr /var /etc, etc...)?

I confess to being a bit confused by this.

Nick

Last edited by Scott; 05-04-2010 at 10:38 AM.. Reason: Code tags, please...
# 2  
Old 05-02-2010
Did you looked at ZFS administration guide

Mounting ZFS File Systems (Solaris ZFS Administration Guide) - Sun Microsystems

Here you have instructions how to mount ZFS tank
# 3  
Old 05-03-2010
Use:
Code:
zpool import -R /a bigzpool

# 4  
Old 05-04-2010
I tried this but it just gave the same results. None of the system directories were visible or accessible (i.e. /usr /var /etc).
# 5  
Old 05-04-2010
What says
Code:
zfs list -r bigzpool

when the pool is imported ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Ubuntu

Root access that can't change root password?

We are having a little problem on a server. We want that some users should be able to do e.g. sudo and become root, but with the restriction that the user can't change root password. That is, a guarantee that we still can login to that server and become root no matter of what the other users will... (2 Replies)
Discussion started by: 244an
2 Replies

2. SuSE

Auditors want more security with root to root access via ssh keys

I access over 100 SUSE SLES servers as root from my admin server, via ssh sessions using ssh keys, so I don't have to enter a password. My SUSE Admin server is setup in the following manner: 1) Remote root access is turned off in the sshd_config file. 2) I am the only user of this admin... (6 Replies)
Discussion started by: dvbell
6 Replies

3. Shell Programming and Scripting

How to give root access to non root user?

Currently in my system Red Hat is installed. And Many user connect to my machine via SSH Techia Terminal. I want to give some users a root level access. Can anyone please help me how to make it possible. I too searched on the Google but didn't find the correct way Regards ADI (4 Replies)
Discussion started by: adisky123
4 Replies

4. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

5. Solaris

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... (5 Replies)
Discussion started by: RychnD
5 Replies

6. Solaris

ZFS root Issue

I jumpstarted a solaris sun4u box from WANboot and it completed but while coming up it gives following error and panics Use is subject to license terms. NOTICE: zfs_parse_bootfs: error 48 Cannot mount root on rpool/47 fstype zfs panic/thread=180e000: vfs_mountroot: cannot mount root ... (0 Replies)
Discussion started by: fugitive
0 Replies

7. UNIX for Dummies Questions & Answers

How to allow access to some commands having root privleges to be run bu non root user

hi i am new to unix and i have abig task. i have to \run particular commands having root privileges from a non root user. i know sudo is one of the way but i need sum other approach kindly help Thanks (5 Replies)
Discussion started by: suryashikha
5 Replies

8. 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

9. 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

10. Linux

how to access root priveliges if root password is lost

wish to know how to access root password it root password is forgotten in linux (1 Reply)
Discussion started by: wojtyla
1 Replies
Login or Register to Ask a Question