PLEASE HELP:->For ROOT Mirroring in Solaris,See Full Information.
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yes, now I recollect, I had first created slice 7 and then when on creating 0 1 3 4 5 6 8. Today I will again restore my snapshot, I will try again.
Which is why you should have gone back and thought about what you did, and re-read the documentation and what you were posting. The answers were there, but as said..unless YOU start thinking about the steps and KNOWING what things do, you're not learning...just typing commands. Asking others to explain each single step, command, and flag, then asking others to diagnose problems won't teach you ANYTHING, EVER, about ANY subject.
Quote:
However I would love to have teacher/guide like you both to pay for their knowledge sharing here in my town.:-)
There are several online learning courses you can take from anywhere, if your town doesn't have a place for Solaris education. But again, you have access to ALL the information and knowledge you need, but it is YOU that has to take the initiative and look it up. Don't just keep asking others to do it for you.
This is your TEST SYSTEM that you are learning on...it is POINTLESS to ask questions like this, since you are trying to LEARN. In the time it took you to post this question (twice), you could have just attempted the boot, and seen what happened. That attempt would have taught you something. You could have taken that knowledge and researched things further, and learned even more.
Asking to be spoon-fed every single step and not researching/trying things on your own is NOT the way to learn ANYTHING.
ok nvalias rootdisk /pci@1c,600000/scsi@2/disk@0,0:a
ok nvalias rootmirror /pci@1c,600000/scsi@2/disk@1,0:a
ok nvstore
to check:
ok devalias
devailas does show set path but after reboot
The alias for disks are not getting saved.
I get this error:-
Code:
----------
System is operating in Service Mode.
Rebooting with command: boot rootdisk
Boot device: rootmirror File and args: rootdisk
Evaluating:
Can't locate boot device
ok nvalias rootdisk /pci@1c,600000/scsi@2/disk@0,0:a
ok nvalias rootmirror /pci@1c,600000/scsi@2/disk@1,0:a
ok nvstore
to check:
ok devalias
devailas does show set path but after reboot The alias for disks are not getting saved. I get this error:-
Code:
----------
System is operating in Service Mode.
Rebooting with command: boot rootdisk
Boot device: rootmirror File and args: rootdisk
Evaluating:
Can't locate boot device
Please advise.
You have been given advice several times, but you are apparently ignoring it each time. AGAIN:
YOU, PERSONALLY, have to research things on your own, and actually put some EFFORT into learning.
Asking to be spoon-fed each and every single step/command will NOT teach you anything
You have mentioned service mode before, and were given advice. Think hard about what that advice was, and it will answer this current question.
AVAILABLE DISK SELECTIONS:
0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> ROOTDSK
/pci@1c,600000/scsi@2/sd@0,0
1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107> ROOTMIRR
/pci@1c,600000/scsi@2/sd@1,0
Specify disk (enter its number):
here is my disks path info:-
Code:
bash-2.03$ ls -l /dev/dsk/c1t0d0s0
lrwxrwxrwx 1 root root 43 Nov 6 2003 /dev/dsk/c1t0d0s0 -> ../../devices/pci@1c,600000/scsi@2/sd@0,0:a
bash-2.03$ ls -l /dev/dsk/c1t1d0s0
lrwxrwxrwx 1 root root 43 Nov 6 2003 /dev/dsk/c1t1d0s0 -> ../../devices/pci@1c,600000/scsi@2/sd@1,0:a
bash-2.03$
{1} ok devalias
rootmirror /pci@1c,600000/scsi@2/disk@1,0:a
rootdisk /pci@1c,600000/scsi@2/disk@0,0:a
rootmirror /pci@1c,600000/scsi@2/sd@1,0:a
rootdisk /pci@1c,600000/scsi@2/sd@0,0:a
xnet2 /pci@1d,700000/pci@1/SUNW,hme@0,1:dhcp,
xnet1 /pci@1e,600000/pci@3/SUNW,hme@0,1:dhcp,
xnet /pci@1e,600000/pci@2/SUNW,hme@0,1:dhcp,
net3 /pci@1d,700000/network@2,1
net2 /pci@1d,700000/network@2
net1 /pci@1f,700000/network@2,1
net /pci@1f,700000/network@2
cdrom /pci@1e,600000/ide@d/cdrom@0,0:f
ide /pci@1e,600000/ide@d
disk3 /pci@1c,600000/scsi@2/disk@3,0
disk2 /pci@1c,600000/scsi@2/disk@2,0
disk1 /pci@1c,600000/scsi@2/disk@1,0
disk0 /pci@1c,600000/scsi@2/disk@0,0
disk /pci@1c,600000/scsi@2/disk@0,0
scsi /pci@1c,600000/scsi@2
sc-control /pci@1e,600000/isa@7/rmc-comm@0,3e8
ttyb /pci@1e,600000/isa@7/serial@0,2e8
ttya /pci@1e,600000/isa@7/serial@0,3f8
name aliases
{1} ok
This is my other info:-
Code:
{1} ok printenv boot-device
boot-device = disk
{1} ok setenv boot-device rootdisk rootmirror
boot-device = rootdisk rootmirror
{1} ok printenv boot-device
boot-device = rootdisk rootmirror
{1} ok printenv diag-device
diag-device = disk
{1} ok setenv diag-device rootdisk rootmirror
diag-device = rootdisk rootmirror
{1} ok printenv diag-device
diag-device = rootdisk rootmirror
{1} ok
After setting alises, If I do
OK boot rootdisk ,the system boots
but if I do init 0 and get to OK prompt and do
OK boot
it through below error:-
This is the error which I get:-
Code:
System is operating in Service Mode.
Rebooting with command: boot rootdisk
Boot device: rootmirror File and args: rootdisk
Evaluating:
Can't locate boot device
{1} ok printenv boot-device
boot-device = rootdisk rootmirror
{1} ok devalias rootdisk
rootdisk : no such alias
{1} ok devalias rootmirror
rootmirror : no such alias
I also did reset-all after doing nvstore, but still that aliases do NOT get saved.
here is my disks info:-
here is my disks path info:-
this is what I did:-
This is my devalias output:-
This is my other info:-
After setting alises, If I do
OK boot rootdisk ,the system boots but if I do init 0 and get to OK prompt and do
OK boot
it through below error:-
This is the error which I get:-
Code:
System is operating in Service Mode.
I also did reset-all after doing nvstore, but still that aliases do NOT get saved.
Please advise.
AGAIN:
We will advise you actually READ the documentation
We will advise you actually RESEARCH THINGS ON YOUR OWN
We will advise that you pay attention to things you've been told before
We will advise that you read the links you've been sent
If you actually DID any of these things, you'd have been through this tutorial in about an hour. If you did, you'd see the "service mode" mentioned as part of your problem. If you did, you'd see how to check/resolve it.
You have mentioned service mode before, and were given advice. Think hard about what that advice was, and it will answer this current question.
Thanks a lot TBOne!
I think I should do this to first to make my system come back to NORMAL mode:-
Code:
What to Do
1. Turn the panel keyswitch to the Normal or Locked position.
2. At the ok prompt, type: ok setenv service-mode? false
The system will not actually enter normal mode until the next reset.
3. Type: ok reset-all
Than setting alias will work.
I apologize for asking frequently.
Could you please just confirm that, I need to first set system to NORMAL MODE and then proceed with setting aliases ?
Thanks a lot TBOne! I think I should do this to first to make my system come back to NORMAL mode:-
Code:
What to Do
1. Turn the panel keyswitch to the Normal or Locked position.
2. At the ok prompt, type: ok setenv service-mode? false
The system will not actually enter normal mode until the next reset.
3. Type: ok reset-all
Than setting alias will work. I apologize for asking frequently. Could you please just confirm that, I need to first set system to NORMAL MODE and then proceed with setting aliases ?
No, I will not....you are apparently ignoring/missing the point we've tried to make to you. That is, YOU ARE THE ONE who needs to do research, and you need to stop asking to be spoon-fed EVERY SINGLE STEP. This all has been covered in the links and material you've been given....but you are putting NO EFFORT OF YOUR OWN into reading/understanding it.
AGAIN, this is your TEST system...why don't you just TRY IT?? Learn by DOING.
No, I will not....you are apparently ignoring/missing the point we've tried to make to you. That is, YOU ARE THE ONE who needs to do research, and you need to stop asking to be spoon-fed EVERY SINGLE STEP. This all has been covered in the links and material you've been given....but you are putting NO EFFORT OF YOUR OWN into reading/understanding it.
AGAIN, this is your TEST system...why don't you just TRY IT?? Learn by DOING.
No this is NOT test system. So I can't do much of rnd on it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.