So I don’t understand where the issue is with mount /export which is preventing the system from booting into multi-user mode.
Just read again this thread fom the beginning.
Creating snapshots cannot have any adverse effects.
Importing a root pool without taking specific precautions will create trouble, which is what you are experiencing.
In post 9 I wrote:
Quote:
There are also specific options you need to use to import a root pool as otherwise, some of the properties, especially mount points, will collide with your current root pool.
In post #13 I wrote:
Quote:
This is dubious, as I already wrote, you need specific options to import a root pool, at least a different root mountpoint.
Can you offer any advice on what to troubleshoot to get out of this hole? Fortunately, I managed to boot it up from another partition which also has rpool and it is working. However, it is a different system which I still couldn't get in as root. Nevertheless, I need to find out more about the differences with this rpool setup compared to the previous one that I have backed up, ended up not able to boot it up to multi-user mode due to something in export folder.
Some people have advised me to remove home folder (copy it to some where first) in export before rebooting but I hesitate of not being locked out of the system altogether.
I am very much dependent on your guidance from here.
Can you offer any advice on what to troubleshoot to get out of this hole?
It is not easy without knowing precisely what you did. I would probably start by destroying backups/usbdrive, if this is where you imported the stream.
Ok jlliagre,
I am so glad you haven't deserted me now that we have come to a crunch. Let me list out as much commands recalled used to carry out the backup:
Below is the zpool output of an alternative multi-boot system (servername_s1) that I have ended up booting into on the same box, the only one I can boot up successfully into yet couldn't work out what the root password is still:
I have taken the following action in an attempt to resolve the mount issue of ‘ /export' by removing home under /export mount point which is preventing ‘/export' from mounting for servername_sr02:
( 1 ) Why am I encountering yet another svc error when booting into servername_sr02? I am still not clear whether the same rpool is used by both of the following boot up filesystems/partitions in Grub:
( 2 ) Can you confirm whether I am still using the same rpool on both boot up filesystems? They appear to have a different ROOT ‘/' filesystem and hence explains why I am not able to su in as root with the original password on the failed servername_srs_2.
( 3 ) I wouldn't mind staying in the current servername_srs_1 boot up filesystem provided that I can hack in as root.
( 4 ) Also can longer boot up from Solairs 10 x86 DVD installation disk after having inadvertently reset boot up firmware. Now the system would go ........................... and not go any further.
Hope this update hasn't confused you completely.
As always, thank you so much for stick around,
George
The third command is syntactically incorrect :
Beyond the incorrect hyphens, the -R option is missing a parameter.
Did you really use the -R option, if yes, with what parameter which is missing here ?
Are you sure c0t0d0 was the USB drive ?
Why did you use the -f option ?
Explanation on commands used to create alternative backups zpool on same system
Hi Jlliagre,
I think the missing parameter was the /mnt. The full syntax would be:
Where -R is to create an alternative zpool on the same system according to my understanding.
I am absolutely sure that disk c0t0d0 is for the USB drive. Used format -e and found it to have 1.9TB size as opposed to the other 2 around 239GB.
I used -f with the intention to force the zpool creation after it failed without it. Nevertheless, this was only my recollection and it may not be the exact command used. It was unfortunate that I couldn't get into the text mode console at the time to copy-paste every step.
Btw, what to specify in Grub to boot up in text mode (ttyb.....) so I can SSH to console screen. I normally use the following sequence of step to into single user mode for instance when boot up from Solaris 10 x86 installation DVD disk:
Btw, this Sun Ray server has not had a backup done in the past so I am hesitant to tamper with it apart from hoping to crack its password, which would save a lot of headaches.
I suspect that it would be similar sequence but not sure what the syntax is to boot up from local disk and to text ttyb.... mode.
I think the missing parameter was the /mnt. The full syntax would be:
Where -R is to create an alternative zpool on the same system according to my understanding.
The -R option here is dubious. Its only effect is to have the backups pool to be mounted on /mnt instead of the default location /backups. That might lead to confusion as /mnt is for traditional temporary mounts.
Quote:
I am absolutely sure that disk c0t0d0 is for the USB drive. Used format -e and found it to have 1.9TB size as opposed to the other 2 around 239GB.
Granted. This is surprising as one should expect the first drive on the first controller to be a internal disk but why not.
Quote:
I used -f with the intention to force the zpool creation after it failed without it. Nevertheless, this was only my recollection and it may not be the exact command used. It was unfortunate that I couldn't get into the text mode console at the time to copy-paste every step.
It looks like you created a pool on a device that was containing an already mounted file system. This usually leads to disasters.
Quote:
Btw, what to specify in Grub to boot up in text mode (ttyb.....) so I can SSH to console screen. I normally use the following sequence of step to into single user mode for instance when boot up from Solaris 10 x86 installation DVD disk:
Not sure about what you mean. ttyb is for serial console access, not ssh. In single user mode, the ssh service is disabled.
Back to the commands you entered:
You created:
- a recursive snapshot of the root pool named 001
- a zpool on your USB disk while it might already be used by something else.
- a file system named usbdrive on this pool
Then, you imported this pool.
Can you explain why as it should have been already imported ?
What did the "zfs list" and "zpool status" commands report ?
The "zfs send" command syntax is incorrect, you cannot send a file system but a snapshot and the -r option is not supported here so I'm assuming you used this command:
- Did you check the /mnt/usbdrive/servername_sr02_rpool@001.snapshot1 file was created ? What was its size ?
I have noticed that when I copy files to flash disk and in UI I see message copy completed in notification area on task bar, usually copy is not completed. So, if I eject the media I loose data.
It is very serious problem because may cause loss of valuable and even critical data.
Moreover, when... (2 Replies)
Hi Guys
I have one Global Zone and 2 non-global zones.
root@solar109
# zoneadm list -icv
ID NAME STATUS PATH BRAND IP
0 global running / native shared
20 solar109b running ... (1 Reply)
Hi,
I want to take backup of files older than 20 days from a directory onto a tape drive on remote machine on Solaris.
The files are of format abc-20100301000000.gz on my local machine.
I know the below commands for searching files older than x days and command for backup procedure.
solar1 #... (7 Replies)
how would a make a complete backup of all files spanning all file systems on my SCO box to tape?
i read somewhere:
find . -print | cpio -ocv > /dev/rStp0
from / ... will this do it??
(yes /dev/rStp0 is my tape drive) (11 Replies)
I have a Solaris 10 container that is running on ZFS filesystems being presented from the Global Zone.
I have a filesystem presented to the Local zone and my user wants me to remove it.
It there any way I can remove this while the zone is running?
I tried unmounting it from the local zone... (0 Replies)
Hi ,
We are using Veritas Net Backup , I want to create a new policy for backing up the (Solaris Operating System & the file systems) only the OS. not Full backup because we have an other policy for Oracle Apps and it takes full backup for all Partitions.
I need the OS backup to be in... (2 Replies)
Hi Folks,
I'm a serious UNIX newbie... I'm using a bash shell on Mac OS X.
Basically I took up unix in order to use a specific image processing software package... I've learned enough to write a script to batch process all of my images, but I have so many that I would like to use an... (1 Reply)