1754320 Members
3032 Online
108813 Solutions
New Discussion юеВ

New disk problem

 
SOLVED
Go to solution
Damien Brown
Occasional Advisor

Re: New disk problem

I did all those command and i have copied and pasted them into a word document

thanks
Sridhar Bhaskarla
Honored Contributor

Re: New disk problem

Hi Damien,

Yep. I don't see rtvg01 in /dev directory. Since this is only the PV in that VG, you can safely export it. Do

#vgexport rtvg01

Then use SAM to recreate the VG, filesystems and restore the data.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Damien Brown
Occasional Advisor

Re: New disk problem

this is what i get if i do that command
Sridhar Bhaskarla
Honored Contributor

Re: New disk problem

OK. Since you have come this far run 'vgscan' and recreate the /etc/lvmtab without rtvg01.

#cp /etc/lvmtab /etc/lvmtab.good
#vgscan -a
#strings /etc/lvmtab

Make sure you get all VGs except rtvg01 in there. Once it is confirmed, you can go ahead and recreate this VG. Your vgdisplay -v etc., may complain but next reboot should take care of it.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Damien Brown
Occasional Advisor

Re: New disk problem

i did thos first three commands and i still can't do it.

here is what i go

if you could please explain how to do this all the way through including the sam part

i need to create volume group rtvg01 and the the logical volumes rtd1 and rtd1v1 and the both need to be 2040mb big.

thanks
Sridhar Bhaskarla
Honored Contributor

Re: New disk problem

I am real drowsy.. OK.. one more time..

#mv /etc/lvmtab /etc/lvmtab.junk
#vgscan -a
#strings /etc/lvmtab

That should get you rid of rtvg01.. Post the output before you proceed. Your leftvg* are giving errors. Do you have them working at this time?.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Damien Brown
Occasional Advisor

Re: New disk problem

sorry for causing so many headaches?

i did that and it's looking pretty good

here is what i got on the screen
Sridhar Bhaskarla
Honored Contributor

Re: New disk problem

Hi,

Can you verify the following now?.

1. Are you sure the VGs leftvg01, leftvg02, leftvg03 not used anymore?. Obviously vgscan couldn't find the disks corresponding to them.

2. Run 'mount -a'. You should see only errors related to rtvg01 unless you have bad entries in /etc/fstab file.

3. Run 'lvlnboot -R' and make sure your 'lvlnboot -v' displays boot,root,swap and dump(optionally) lvols.

4. Make sure everything is working fine. Your database, application etc.,.

Once the above is confirmed, proceed with creating a new VG with c1t1d0.

Since you have only one disk in the VG, you could use 'vgscan' command. However, it may not be used as a generic solution in this situation.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try