05-02-2013
I would expect it to timeout eventually.
What happens if you boot from cd with no harddisk inserted?
Just to prove booting from that media.
There is a limit as to how long the O/S will wait on a HD before moving on.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Will some one tell me what this means.
"warning: ida 0 <slot 6> : command timed out on dev 1/42 blk 4824290 logical unit=0 blocks=5512102, size 2, cmd=0x20."
I'm running SCO 505 on a proliant 1600r.
Thnank you in advance. (3 Replies)
Discussion started by: franruiz
3 Replies
2. Linux
I am using an Acer Aspire 4720Z with two partitions C and D. Windows is installed on C and I decided to install Red Hat Linux 9 in partition D. The two partitions are in NTFS file system. During my installation of the the Linux, a prompt was displayed on screen with the message: "No hard drives... (2 Replies)
Discussion started by: tamcomng
2 Replies
3. Solaris
Version: solaris 10 x86
I just got a western digital external harddrive formated with fat 32. this drive came with some setup files which is meant for windows or mac.
I want to reformat and partition this drive into two ( for solaris and windows) such that the setup files will still be there... (2 Replies)
Discussion started by: seyiisq
2 Replies
4. Filesystems, Disks and Memory
Folks;
I just added 2 physical new hard drives to my SUSE server. My server is already running SUSE 10.3 version.
Is there a command i can use to add the new space or even see if the system can sees them? (3 Replies)
Discussion started by: Katkota
3 Replies
5. UNIX for Dummies Questions & Answers
Looking for some clues on how to set my internal hard drives inaccessible/busy to clonezilla. Noprobe doesn't work in startup and the drive is still found.
I know I can find all hard drives using the following:
sudo fdisk -l | grep GB | awk '{print $2}' | grep -Po "^+(?=:?)"
I tried... (9 Replies)
Discussion started by: traustic
9 Replies
6. Hardware
Hello everyone. I have a question which I may know the answer to, I'm just looking for a confirmation. When it comes to the MBR of a hard drive, i've read in multiple sources that it's always located in the first sector of the hard drive. Is the MBR there from the factory? When I buy a new blank... (3 Replies)
Discussion started by: Lost in Cyberia
3 Replies
7. Solaris
I have three Sun Oracle Netra T5220s. I am trying to just get the processor information psrinfo or prtdiag -v from the # prompt in single user mode.
I am needing to know the commands to get to boot the CD/DVD of the Solaris OS. I am using it via Serial Port Management.
Tinkering around I... (4 Replies)
Discussion started by: nerdboy
4 Replies
8. Linux
Hello,
I have install 2 HDD in my server and now installing the Centos6.4.
I want create the LVM of those 2 HDD's so while i'm doing this it is not allowing me to select these 2 disk's from allowable disk list.
Same problem if i tried to make Software RAID with creating LVM.
Please help. (1 Reply)
Discussion started by: purushottamaher
1 Replies
9. Solaris
Hi,
I have two SCSI Hard Drives in a Sun Solaris 8 server as shown below. I would like to access Disk1 and look at its contents, directory structure and files. How do I change my default directory from Disk 0 to Disk 1 and vice versa?
Thank you. (5 Replies)
Discussion started by: ssabet
5 Replies
10. UNIX for Beginners Questions & Answers
Ok so i thought i was smart but i can tell I need some help. I am playing around with understanding lvm and adding disks to a linux box. I added a disk and then ran what i thought were commands to add this disk to the box but I think I messed up and would like some help. My question is did i... (5 Replies)
Discussion started by: cptkirkh
5 Replies
LEARN ABOUT SUNOS
volmgt_check
volmgt_check(3VOLMGT) Volume Management Library Functions volmgt_check(3VOLMGT)
NAME
volmgt_check - have Volume Management check for media
SYNOPSIS
cc [ flag ... ] file ... -lvolmgt [ library ... ]
#include <volmgt.h>
int volmgt_check(char *pathname);
DESCRIPTION
This routine asks Volume Management to check the specified pathname and determine if new media has been inserted in that drive.
If a null pointer is passed in, then Volume Management will check each device it is managing that can be checked.
If new media is found, volmgt_check() tells Volume Management to initiate any "actions" specified in /etc/vold.conf (see vold.conf(4)).
RETURN VALUES
This routine returns 0 if no media was found, and a non-zero value if any media was found.
ERRORS
This routine can fail, returning 0, if a stat(2) or open(2) of the supplied pathname fails, or if any of the following is true:
ENXIO Volume Management is not running.
EINTR An interrupt signal was detected while checking for media.
EXAMPLES
Example 1: Checking If Any New Media Is Inserted
To check if any drive managed by Volume Management has any new media inserted in it:
if (volmgt_check(NULL)) {
(void) printf("Volume Management found media
");
}
This would also request Volume Management to take whatever action was specified in /etc/vold.conf for any media found.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
cc(1B), volcheck(1), vold(1M), open(2), stat(2), volmgt_inuse(3VOLMGT), volmgt_running(3VOLMGT), vold.conf(4), attributes(5), volfs(7FS)
NOTES
Volume Management must be running for this routine to work.
Since volmgt_check() returns 0 for two different cases (both when no media is found, and when an error occurs), it is up to the user to to
check errno to differentiate the two, and to ensure that Volume Management is running.
SunOS 5.10 31 Dec 1996 volmgt_check(3VOLMGT)