1833758 Members
2633 Online
110063 Solutions
New Discussion

Disk and volume status

 
SOLVED
Go to solution
Ahmad Munawwar
Frequent Advisor

Disk and volume status

Hi,

What is the good method to check the disk and volume status in my system is it O.K or not. Just to get idea for my own prventive maintenance.
Recently i backup both my filesystem and raw device in the same tape but it was failed when attemp to backup the raw device. Would appreciate if anybody can help me.

Regards,
Munawwar
8 REPLIES 8
Stefan Farrelly
Honored Contributor

Re: Disk and volume status


To check your disks and volumes ensure you have the Online Diagnostic software installed (from the support CD or you can download from www.software.hp.com). This monitors all your hardware, any errors or problems and it will put an entry in syslog and syslog should email root which means you should receive it.

You can also install ISEE - if you have a 7x24 4 hour support contract with HP. This software talks to HP in realtime and if any hardware problems an automatic call is raised with HP so an engineer gets onto it asap and will contact you for any action needed. Very handy.
You can download ISEE from www.software.hp.com

What backup tool are you using for your raw backup and what was the error ?
Im from Palmerston North, New Zealand, but somehow ended up in London...
BFA6
Respected Contributor

Re: Disk and volume status

We have predict installed which if it detects any problems eg write errror, read errors, it sends a message to the HP response centre, who then get in touch with us.

Hilary
John Carr_2
Honored Contributor

Re: Disk and volume status

Hi

providing yu have ODE OnLine Diagnostic Environment installed you can run stk.

stk select the disk you wish to test then select excercise.

now this will stress test the disk for ten minutes.

in the mean time select the activilty log and it will tell you what is happening with the disk.

John.
Martin Johnson
Honored Contributor

Re: Disk and volume status

What were you using to back up the raw devices? fbackup will not backup raw devices. Depending upon what application is using the raw devices (oracle, sysbase, etc) an application specific backup tool is required.


Marty
PIYUSH D. PATEL
Honored Contributor

Re: Disk and volume status

Hi,

You can use dd or Omniback to backup the raw filesystems.

dd if=/dev/rdsk/c1t2d0 of=/dev/rmt/0mn bs=1024k

Piyush
Sanjay_6
Honored Contributor
Solution

Re: Disk and volume status

Hi Ahmed,

Try this,

for disks,

diskinfo -v /dev/rdsk/cxtydz
pvdisplay -v /dev/dsk/cxtydz
(all extents should show current)
dd if=/dev/rdsk/cxtydz of=/dev/null bs=1024k

For VG's,

vgdisplay -v /dev/vgxy
(all lv's should show as available/syncd)

For lv's

lvdisplay -v /dev/vgxy/lv_name
(all extents should show current)

Hope this helps.

Regds
Ahmad Munawwar
Frequent Advisor

Re: Disk and volume status

Hi,

I'm using script to do backup, you are right i'm using command "dd if=${_raw} of=${_dump_device} bs=${_dd_blocksize}" for raw device backup.

I got this error in log file "*** START Dumping raw device /dev/vg02/rlog2 ***

14933+1 records in
14933+1 records out

*** STOP Dumping raw device /dev/vg02/rlog2 ***


*** START Dumping raw device /dev/vg02/rlog1 ***

27733+1 records in
27733+1 records out

*** STOP Dumping raw device /dev/vg02/rlog1 ***


*** START Dumping raw device /dev/vg02/rtempvol ***

426+1 records in
426+1 records out

*** STOP Dumping raw device /dev/vg02/rtempvol ***


*** START Dumping raw device /dev/vg01/rdata1 ***

30124+0 records in
30123+1 records out

Deactivating volume groups previously activated.


Killing trailing processes.
Waiting for processes to terminate ... done.
Deleting temporary files ... done.

Error: Wed May 22 21:13:19 SST 2002 unknown tdr_dump :
Error: File system/raw device backup failed! "

Any idea, how to find the cause of error?

Regards,
Munawwar
Johannes Seippel
Occasional Advisor

Re: Disk and volume status

The output from dd

30124+0 records in
30123+1 records out

looks pretty like a defect disk. Verify with mstm and open a h/w call.

Tip: for installation of Offline Diagnostics ODE look at LVMKBRC00005103 "Creating a mirrored boot disk"