Hi All,
How to keep the volumes offline after reboot also, i make it offline like below
# metaoffline d0 d20
after reboot its automatically getting online, however i have to keep it offline and as on required i have to make it online as per business.
Thanks in anticipation
just detach the submirror...
# metadetach d0 d20
if you need to sync it you can reattach it with
# metattach d0 d20
this should work... if i understand right what you need...
Hi Duke,
As suggested, i detaching the volume and created some file for test and rebooted the disk from mirror. i can still see the file on the mirror. ideal it shouldn't be there.
please help !
Thanks
if there is a mirror d0 with the submirrors d10 and d20 and you've detached d20 from d0 and afterwards created a file on d0 the file can't be on d20. if it is, there has to be a mistake!
Hi Duke,
I got d7 with two sub mirror d17 and d27. I detahed the d27 from the mirror like below
# metadetach d7 d27
later i created file on the mount point which is created for d7 .
then init 0 and later booted the system with rootmirror which which contains d27 and i can see the files there .
Where am i going wrong .
Thanks
don't know... looks good for me.
kumarmani:
Hi Duke,
I got d7 with two sub mirror d17 and d27. I detahed the d27 from the mirror like below
# metadetach d7 d27
later i created file on the mount point which is created for d7 .
then init 0 and later booted the system with rootmirror which which contains d27 and i can see the files there .
Where am i going wrong .
Thanks
Did you mount it at a raw device and check?
how to mount the raw device ?
Can you try swapping the physical drive and check... maybe you were not really booring up from d27