Metadevices deleted


 
Thread Tools Search this Thread
Operating Systems Solaris Metadevices deleted
# 1  
Old 10-24-2011
Metadevices deleted

Hi Guys,

We have an issue,

all metadb's on system was deleted and the system was rebooted.

the system is currented mounted in single-user mode . its a x86 server.

the volumes under SVM is as follows.
Code:
/
/var and
/usr

please suggest

Moderator's Comments:
Mod Comment Please use code tags <- click the link!

Last edited by zaxxon; 10-24-2011 at 11:49 AM.. Reason: code tags, see PM
# 2  
Old 10-25-2011
If you have up-to-date backup of /etc/lvm you can restore it.
Than add new metadb's (info about previous metadb location is in restored /etc/lvm/mddb.cf).

Than you can recreate metadevices based on information located in restored file /etc/lvm/md.cf)

Quote:
d100 1 1 c4t6006016070702A00962CC8DDF6E5E011d0s0
d102 -p d100 -o 32 -b 10485760
as

Quote:
metainit d100 1 1 c4t6006016070702A00962CC8DDF6E5E011d0s0
metainit d102 -p d100 -o 32 -b 10485760
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Solaris

Creating metadevices

Hi I am new to SVM, but I would like to configure it in one of my servers. The setup is as follows: I have one server running solaris 10 , and is connected to a NetApp via iSCSI protocol. This is how I intend to do it: Ask the NetApp admin, to provide me with 3 LUNs of 100G each, them use the... (14 Replies)
Discussion started by: fretagi
14 Replies

2. Solaris

SVM - Metadevices are offline after changing hostname solaris x86

Hi , We are facing an issue on one of our solaris x86 server, After changing the hostname and a orderly reboot , all metadevices shows offline. please let us know the steps to restore back all metadevices to working state with this new hostname (3 Replies)
Discussion started by: karthick.sh
3 Replies

3. AIX

Who deleted my files

Just looking for some guidance on how to figure out who might have deleted some files off one of my systems. These files are not root owned files so could be deleted by a handful of folks in the group responsible for these files besides the root users. Anyway I have been tasked with trying to... (1 Reply)
Discussion started by: juredd1
1 Replies

4. Solaris

Directory cannot be deleted!!!

Friends, I have accidently, as root, created a directory gabsf under /home. Now I cannot delete this thing, I have tried rm and rmdir, as well as explicit path name, but it is really undeleteable. Here is what ls -l says. # ls -l /home total 6 drwxr-xr-x 2 dawood dawood 2 Sep 5... (3 Replies)
Discussion started by: gabam
3 Replies

5. UNIX for Dummies Questions & Answers

Where do deleted mailboxes go in OS X

Just wondering -- I just deleted one of the mailboxes on my mac, and was wondering where it went. I'd like to do an srm, and thought that it would go to my deleted messages mailbox, but it isn't there (and there were some messages in them.) Can anyone tell me? The mailbox doesn't contain any... (0 Replies)
Discussion started by: Straitsfan
0 Replies

6. Solaris

metadevices: how to test metadb (how to corrupt replicas/understanding replicas)

Hi all, I recently started exploring Solaris 10. I am testing metadevices now. I have been reading about the state databases here: 6.State Database (Overview) (Solaris Volume Manager Administration Guide) - Sun Microsystems So I created 3 metadbs on 2 slices (6 in total; c1t1d0s3... (3 Replies)
Discussion started by: deadeyes
3 Replies

7. Solaris

Problem with live upgrade creation: Telling me metadevices do not exist

Hi I am having a problem creating my live upgrade environment. Here is the error I get: root@server:/# lucreate -c SOL10_18May -n SOL10_19May -z /lu_excludelist -m /:dev/md/dsk/d0:ufs -m /var:/dev/md/dsk/d4:ufs -m /export/home:/dev/md/dsk/d6:ufs -m -:/dev/md/dsk/d3:swap -C... (0 Replies)
Discussion started by: notreallyhere
0 Replies

8. Solaris

Metadevices in mirroring ?

Hi Guys. I have the follow disk mappig.... My doubt is that the filesystem root is in mirroring. I can see this in the configuration but , I dont know exactly if this in mirroring mean disk in RAID. In short: Watching the configuration...Can I said if the filesystem / is in Raid? ... (3 Replies)
Discussion started by: aggadtech08
3 Replies

9. IP Networking

Route deleted

I am running SCOUnix OpenServer 5.0.5. For some reason a route in my routing table is being deleted and I do not know why. As far as I can see, it is nothing obvious that is deleting the route. The rest of the table is fine, only one particular entry is being delete. I run S99routes to reestablish... (3 Replies)
Discussion started by: walkerd810
3 Replies
Login or Register to Ask a Question