The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
grep unix.com with google



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-07-2009
Registered User
 

Join Date: Sep 2008
Posts: 349
How to keep volumes offline after reboot

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
  #2 (permalink)  
Old 03-07-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,216
just detach the submirror...


Code:
# metadetach d0 d20

if you need to sync it you can reattach it with


Code:
# metattach d0 d20

this should work... if i understand right what you need...
  #3 (permalink)  
Old 03-07-2009
Registered User
 

Join Date: Sep 2008
Posts: 349
Thanks Duke!

Any other option
  #4 (permalink)  
Old 03-08-2009
Registered User
 

Join Date: Sep 2008
Posts: 349
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
  #5 (permalink)  
Old 03-08-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,216
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!
  #6 (permalink)  
Old 03-08-2009
Registered User
 

Join Date: Sep 2008
Posts: 349
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
  #7 (permalink)  
Old 03-08-2009
DukeNuke2's Avatar
Soulman
 

Join Date: Jul 2006
Location: Germany, Berlin
Posts: 3,216
don't know... looks good for me.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Color: XDCAM EX and HD clips are sometimes offline Linux Bot OS X Support RSS 0 12-18-2008 04:30 AM
NFS service : offline after enabling it . saurabh84g SUN Solaris 4 09-11-2008 12:37 AM
different between soft reboot and hard reboot seelan3 SUN Solaris 3 09-21-2006 03:12 AM
HELP!! NICs went offline suddenly skotapal IP Networking 4 03-11-2003 07:57 PM



All times are GMT -4. The time now is 12:31 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0