- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to analize a raw volume group/disk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 02:33 PM
05-07-2002 02:33 PM
We have a set of disk drives assigned to Sybase 11.x and defined as raw disks.
Sybase db check is showing an issue on one block of the drive.
Is there any way to analyze the status of the drive at a Unix level ?
I believe fsck does not allow that since the disk is not using hfs or vxfs.
Could you help me ?
Thanks in advance,
Mike
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 02:37 PM
05-07-2002 02:37 PM
Solutiondd if=/dev/rdsk/c5t2d0 (or maybe /dev/vg03/rlvol4 if using LVM) bs=256k of=/dev/null
This will read everything in your raw volume/disk in 256k chunks and output it to the null device. This is a read-only operation and is safe. Dd will output a status when finished. Man dd for details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 02:43 PM
05-07-2002 02:43 PM
Re: how to analize a raw volume group/disk
if Sybase server had a hardware problem with the drive, you'll find en entry (many lineS) in your local "syslog" (/var/adm/syslog/syslog.log).
That will tell your controll, drive, and block, IIRC :-)
The "check" with "dd" will enter an additional entry...
HTH,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 02:49 PM
05-07-2002 02:49 PM
Re: how to analize a raw volume group/disk
Actually sybase tells me a lot about where to look for (virtual disk No. and block No. which I can map to drive/lvol).
I got these info both from a dbcc checkdb and from Sybase errolog when trying to access that part of the drive
I'll take a look with dd and wait for the status.
Do you know why lvdisplay -v on that lvol does not show any stale partition ? (everything looks available there).
Thank you very much for the hints !
Cheers,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2002 03:03 PM
05-07-2002 03:03 PM
Re: how to analize a raw volume group/disk
"lvdisplay" will only tell you about an "LE" being *stale* if that LV is actually mirrored - if it is not, you won't see "stale"...
Sorry,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 06:06 AM
05-08-2002 06:06 AM
Re: how to analize a raw volume group/disk
I used dd and actually I got back a read error after a number of records.
That's enough for me, just wanted to thank you for the quick response.
Ciao !
Mike