Update : How to see a zfs root filesystem when booted from net
- From: Richard Skelton <Richard.Skelton@xxxxxxxxxxxx>
- Date: Fri, 7 Nov 2008 07:07:36 +0000
Hi,
Many reply's all saying use zpool import. This does not give me the
newpool/ROOT/zfsroot
# zpool import
pool: newpool
id: 7763734159325077371
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
newpool ONLINE
mirror ONLINE
c0t0d0s0 ONLINE
c0t1d0s0 ONLINE
# mkdir /var/tmp/fred
# zpool import -R /var/tmp/fred 7763734159325077371
libshare SMF initialization problem: entity not found
# df -h
Filesystem size used avail capacity Mounted on
/ramdisk-root:a 167M 164M 0K 100% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 1.7G 344K 1.7G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
swap 1.7G 584K 1.7G 1% /tmp
/tmp/dev 1.7G 584K 1.7G 1% /dev
fd 0K 0K 0K 0% /dev/fd
172.29.216.237:/Jump1/sol-10-u6-ga1-sparc
33G 27G 6.4G 81% /cdrom
swap 1.7G 0K 1.7G 0% /tmp/root/var/run
newpool/export 33G 19K 31G 1%
/tmp/root/var/tmp/fred/export
newpool/export/home 33G 18K 31G 1%
/tmp/root/var/tmp/fred/export/home
newpool 33G 94K 31G 1%
/tmp/root/var/tmp/fred/newpool
Original message:-
Hi,
How can I see my on-disk zfs root file system when I am booted from the
network?
I have installed Solaris 10 10/08 Sparc via jumpstart on to an Ultra 60
When booted from the disks I see:-
# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
newpool 33.8G 1.57G 32.2G 4% ONLINE -
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
newpool 2.57G 30.7G 94K /newpool
newpool/ROOT 584M 30.7G 18K legacy
newpool/ROOT/zfsroot 584M 30.7G 578M /
newpool/ROOT/zfsroot/var 6.35M 30.7G 6.35M /var
newpool/dump 1.00G 30.7G 1.00G -
newpool/export 37K 30.7G 19K /export
newpool/export/home 18K 30.7G 18K /export/home
newpool/swap 1G 31.7G 16K -
# zpool status
pool: newpool
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
newpool ONLINE 0 0 0
mirror ONLINE 0 0 0
c0t0d0s0 ONLINE 0 0 0
c0t1d0s0 ONLINE 0 0 0
errors: No known data errors
When I boot from network :-
Rebooting with command: boot net -s
Boot device: /pci@1f,4000/network@1,1 File and args: -s
Timeout waiting for ARP/RARP packet
SunOS Release 5.10 Version Generic_137137-09 64-bit
Copyright 1983-2008 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
Booting to milestone "milestone/single-user:default".
Configuring devices.
Using RPC Bootparams for network configuration information.
Attempting to configure interface hme0...
Configured interface hme0
Requesting System Maintenance Mode
SINGLE USER MODE
# zpool import
pool: newpool
id: 7763734159325077371
state: ONLINE
action: The pool can be imported using its name or numeric identifier.
config:
newpool ONLINE
mirror ONLINE
c0t0d0s0 ONLINE
c0t1d0s0 ONLINE
I want to access data in newpool/ROOT/zfsroot/var
--
Cheers
Richard Skelton
Richard.Skelton@xxxxxxxxxxxx
Infineon Technologies UK Ltd
Infineon House
Great Western Court
Hunts Ground Road
Stoke Gifford
Bristol
BS34 8HP
Tel +44(0)117 9528808
_______________________________________________
sunmanagers mailing list
sunmanagers@xxxxxxxxxxxxxxx
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
- Prev by Date: ACS robot type not detected in netbackup on Solaris platform
- Next by Date: ntp question
- Previous by thread: ACS robot type not detected in netbackup on Solaris platform
- Next by thread: ntp question
- Index(es):
Relevant Pages
|