How to keep volumes offline after reboot


 
Thread Tools Search this Thread
Operating Systems Solaris How to keep volumes offline after reboot
# 1  
Old 03-07-2009
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  
Old 03-07-2009
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  
Old 03-07-2009
Thanks Duke!

Any other option
# 4  
Old 03-08-2009
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  
Old 03-08-2009
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  
Old 03-08-2009
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  
Old 03-08-2009
don't know... looks good for me.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

USB drive going offline

Hello all, I have a USB drive mounted on a linux RHEL 4 server which goes offline every now n then. Here are some logs : --------------------------------------------- # lsusb Bus 005 Device 001: ID 0000:0000 Bus 004 Device 001: ID 0000:0000 Bus 003 Device 001: ID 0000:0000 Bus 002... (1 Reply)
Discussion started by: sunny_a_j
1 Replies

2. Solaris

No of volumes in vxvm

Anyone knows that how many volumes can be created in a Diskgroup? Thanks in advance... (1 Reply)
Discussion started by: bpsunadm
1 Replies

3. Filesystems, Disks and Memory

Raw volumes

The query is as follows : A typical server configs when using Oracle or any other type of DB is to install the OS + DB binaries on the internal disks of the relevant server e.g. Disk 1 : OS + SW + DB binaries Disk 2 : Mirror of disk 1 (used for resiliency) Then one uses an external array... (1 Reply)
Discussion started by: kekanap
1 Replies

4. OS X (Apple)

Mount a disk elsewhere /Volumes

When a new disk is connected to a Mac/OSX, it automatically mounts on /Volumes. Is it possible to manually mount it elsewhere? For example, on "/raid"? - m66 - (5 Replies)
Discussion started by: makrell66
5 Replies

5. Solaris

Offline HBA.

Hi, I have a HBA that is currently offline for some unknown reason. The device shows up in the prtdiag -v stating it is okay. How can I bring this back online? It was working okay until recently. It is currently connected to the SAN. Details below. # fcinfo hba-port HBA Port WWN:... (7 Replies)
Discussion started by: sparcman
7 Replies

6. UNIX for Advanced & Expert Users

Regarding volumes entries!

I want some clarifications here :) As my understanding: Physical Volumes entries exist in: /dev/dsk n /dev/rdsk with slice information. Anyway we can get the Physical volumes/disk info And for logical Volumes: /etc/mnttab, /etc/vfstab contains entries And its not generic to get all the... (0 Replies)
Discussion started by: painulyarun
0 Replies

7. AIX

Used Space on Logical Volumes

Hi Everybody, Is there any way to know the used space on a specific Logical Volume? Note, my question related to the LVs that have no mount point & not belong to any FileSystem. Thanks in advance :rolleyes: (7 Replies)
Discussion started by: aldowsary
7 Replies

8. Solaris

different between soft reboot and hard reboot

Hi Guru's Can any want here could explain to me the different between soft reboot and hard reboot . Best Regards Seelan (3 Replies)
Discussion started by: seelan3
3 Replies

9. News, Links, Events and Announcements

Did not know about logical volumes

I had just updated - reinstalled - my RH9 to a Fedore Core 3. I did not know about the Logical volumes that automatically combined partitions on drive 1 and 2 into one mounted volume. In my attempts to do something with the hdb2 partition - not knowing that it was already in use - I killed my... (2 Replies)
Discussion started by: gezi
2 Replies

10. UNIX for Dummies Questions & Answers

AIC logical volumes

Does anyone know where I can find good documentation on modifying AIX logical volumes. Basically, I have a box that has 2 file systems that rae 99% full. I would like to add another disk, and migrate a file system or 2 to it, then reclaim the space by adding it to other volumes. I understand that... (1 Reply)
Discussion started by: 98_1LE
1 Replies
Login or Register to Ask a Question