- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- HPE 9000 and HPE e3000 Servers
- >
- Re: single user mode can't run command dd to test ...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО07-09-2008 06:51 AM
тАО07-09-2008 06:51 AM
single user mode can't run command dd to test drive
I am unfamiliar with this so any help is appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 06:56 AM
тАО07-09-2008 06:56 AM
Re: single user mode can't run command dd to test drive
because you are in single user mode, /usr and others are not mounted.
# whence dd
/usr/bin/dd
# whereis dd
dd: /usr/bin/dd
You need to activate vg00 and mount /usr
# vgchange -a y vg00
# mount -a
(this will mount everything in vg00 - other VGs will give errors which is normal)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 12:27 PM
тАО07-09-2008 12:27 PM
Re: single user mode can't run command dd to test drive
vxfs mount: /dev/vg00/lvol8 is corrupted needs checking
same for lvol7, lvol6, lvol5, lvol4
mount: /dev/vg00/lvol1 is already mounted on /stand
I still received the same command not found for dd and man.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 12:51 PM
тАО07-09-2008 12:51 PM
Re: single user mode can't run command dd to test drive
# fsck -y -ofull /dev/vg00/rlvol4
the same for the other lvols, try to mount your filesystems again after the fsck.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 12:55 PM
тАО07-09-2008 12:55 PM
Re: single user mode can't run command dd to test drive
# vgchange -a y vg00
# mount -a
# fsck -y -ofull /dev/vg00/rlvol4
I am fearful that these will alter the file systems in some way and make them inoperable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-09-2008 04:31 PM
тАО07-09-2008 04:31 PM
Re: single user mode can't run command dd to test drive
1. vgchange -a y vg00
(activate the vg00 volume group)
2. fsck -y -o full /dev/vg00/rlvol4
(filesystem check. Check the consistency of the filesystem and correct any issues)
3. mount -a
(connect each volume under a directory)
Why are you testing the drive in single user mode? Did your system crash? Do you have i/o errors with this particular disk? It looks like it did because you received the "vxfs mount: /dev/vg00/lvol8 is corrupted needs checking" error. In this case or if you are having disk problems and your OS is on the c1t2d0 disk you might see errors or issues with the fsck step.
In general you do not need to be in single user mode if you want to do a "null read" test (dd if=/dev/rdsk/c1t2d0 of=/dev/null bs=1024k). You could have done this in multi user mode and with the disk being used for other i/o by the OS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2008 05:53 AM
тАО07-10-2008 05:53 AM
Re: single user mode can't run command dd to test drive
I can't get past this point in order to log in. I just want to log in and test the disk drive to make sure it isn't corrupted.
This is an L1000 server. Is there a CDRom that I can boot off of to test the disk drive instead of using dd if=/dev/rdsk/c1t2d0 of=/dev/null bs=1024k once I am able to run this command?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2008 09:38 AM
тАО07-10-2008 09:38 AM
Re: single user mode can't run command dd to test drive
BTW, you may be able to logon via telnet even if the boot stuck at this point.
For your "dd" follow the given advise, but it may be not necessary.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-10-2008 11:25 AM
тАО07-10-2008 11:25 AM
Re: single user mode can't run command dd to test drive
Where is your NFS server?
What does the NFS entry in /etc/fstab look like?
You can turn off the NFS client service in /etc/rc.config.d/nfscon by changing the NFS_CLIENT variable from 1 to 0. Then reboot the server and see how far it gets.
You still need to do the 3 steps (vgchange, fsck, mount) to be able to edit the /etc/rc.config.d/nfsconf file in single user mode.