- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- mounting other file system hangs
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-31-2002 06:32 AM
05-31-2002 06:32 AM
Having a little trouble with a HP C-Class workstation running HP-UX 10.20. While booting it hangs right after it says the root device is ok. I am suspecting the second hfs file system /disk2 is not usable and/or the hard drive is bad. It boots up in single user ok, but when I tried to manually mount /disk2 it hangs again. Each time it hangs I have to power reset the workstation. I have checked the syslog.log file for any errors and found nothing there. The last thing I did was run the fsck command on the device file /dev/rdsk/c0t5d0 and it hangs as well. I have seen the dd command used to verify a bad hard disk but can't remember the syntax. Any help would be appreciated. Thanks to all who respond.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 06:37 AM
05-31-2002 06:37 AM
Re: mounting other file system hangs
You should be able to boot the system in single user mode in any case if the OS is fine on the root disk and is not spread on teh 2nd disk . The syntax to check for the second disk is
dd if=/dev/rdsk/c0t5d0 of=/dev/null and check whether it gives you I/O error or not.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 06:38 AM
05-31-2002 06:38 AM
Re: mounting other file system hangs
Add a block size to the dd command Manoj gave you so it doesn't take forever:
dd if=/dev/dsk/c0t5d0 of=/dev/null bs=1024k
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 06:39 AM
05-31-2002 06:39 AM
Re: mounting other file system hangs
2) Run STM to check the disk drive.
3) Run dd command to check it:
# dd if=/dev/dsk/cxtydz of=/dev/null bs=64k
4) Run diskinfo:
# diskinfo /dev/rdsk/cxtydz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 06:40 AM
05-31-2002 06:40 AM
Solution# dd if=/dev/rdsk/c0t5d0 of=/dev/null bs=1024k
In single user mode does "ioscan" sees it ? Does it respond to "diskinfo" command ?
# ioscan -fnC disk
# diskinfo /dev/rdsk/c0t5d0
You can also run STM to find out if the disk is ok or not ..
# cstm
cstm> map
cstm> sel dev
cstm> info
cstm> infolog
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 06:43 AM
05-31-2002 06:43 AM
Re: mounting other file system hangs
I would also suggest you to first run a diskinfo on your disk:
#diskinfo /dev/rdsk/c0t5d0
if the size of the disk is 0 or if there is no info for your disk then the disk is completly bad. If you have some info and the size is correct then you could continue with the dd:
#dd if=/dev/rdsk/c0t5d0 of=/dev/null bs=1024k
to verify if you could read the content of the disk. if it comes back with I/O errors you have a bad disk.
Luc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 07:07 AM
05-31-2002 07:07 AM
Re: mounting other file system hangs
Looks like you have a faulty disk in your system. What is your ioscan output. Also try diskinfo for the other disks.
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2002 10:13 AM
05-31-2002 10:13 AM