04-01-2004
Type the following:
dmesg |grep hd
dmesg |grep sd
dmesg |grep id
This should give you a list of all your hard drives. hd? (? is a letter of the alphabet) will be IDE drives, sd? will be SCSI, and id? may show up if you are on a Proliant box. You may get some other junk as well but you can probably figure it out.
Now, run 'fdisk /dev/hda' or what ever disks you ended up finding. You may want to run a man on fdisk first. It's not the most strait forward tool.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have suns machine that holds two hard drives. I only used one. I tryed to make a lan network with my windows xp. When I tryed to restart the machine it wanted to a password. when before I just typed root to log in. So i edited the etc dir. big mistake. So now the machine will not read the hard... (2 Replies)
Discussion started by: victbla
2 Replies
2. UNIX for Dummies Questions & Answers
Hello, earlier tonight I was installing BETA version of Mandrake Linux 9.0 and I realised I needed to partition my drive. I tried making the partition within mandrake but ther wasnt an option within the mandrake setup. So i go into my WindowsXP and do the disk management option but there want a... (5 Replies)
Discussion started by: xcaliber
5 Replies
3. SCO
I trying to learn Unix and I am using SCO Unixware 7.1. Below are three question that I have:
1) Can someone tell me what command I can use to find out the system processor speed.
2) Can someone tell me what command I can use to find out what's the hard drive size of my unix box.
3) Can... (1 Reply)
Discussion started by: etaup02
1 Replies
4. UNIX for Dummies Questions & Answers
:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......
dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/????????
Where I have the question marks is the problem.
How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies
5. Filesystems, Disks and Memory
Hi
I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies
6. Filesystems, Disks and Memory
Hi,
I just set up a raid Z array in solaris xpress and I notice that the drives feel pretty damn hot. I use speedfan to monitor the temperatures of the hard drives in XP. Is there a similar program for solrais? I assume there would be since the drives all have temp sensors in them, but I... (2 Replies)
Discussion started by: ciscocbee
2 Replies
7. Red Hat
I am running FC-7 which I realize is an older distro. But my question would apply to any distro.
I ran fsck on my mounted file system (I know, I shouldn't have). Now it won't boot. I get a kernel panic message.
I booted to a Knoppix Live Cd.
The desktop icon shows /dev/sda2 mounted at... (4 Replies)
Discussion started by: 2buck56
4 Replies
8. Red Hat
Im trying to install a fresh version of Fedora 17. I keep getting formating errors when trying to reformat the hard drive. I recieve errors as well I I try to use the entire disk for the install instead of creat new partitions from scratch. I even tried fromatting the disk using PartedMagic and... (7 Replies)
Discussion started by: Fingerz
7 Replies
9. UNIX for Advanced & Expert Users
I have connected an external hard drive. I can't find it.
Both ls /media, fdisk -l and ls /dev show nothing.
TIA (3 Replies)
Discussion started by: Meow613
3 Replies
LEARN ABOUT SUNOS
diskscan
diskscan(1M) System Administration Commands diskscan(1M)
NAME
diskscan - perform surface analysis
SYNOPSIS
diskscan [-W] [-n] [-y] raw_device
DESCRIPTION
diskscan is used by the system administrator to perform surface analysis on a portion of a hard disk. The disk portion may be a raw parti-
tion or slice; it is identified using its raw device name. By default, the specified portion of the disk is read (non-destructive) and
errors reported on standard error. In addition, a progress report is printed on standard out. The list of bad blocks should be saved in a
file and later fed into addbadsec(1M), which will remap them.
OPTIONS
The following options are supported:
-n Causes diskscan to suppress linefeeds when printing progress information on standard out.
-W Causes diskscan to perform write and read surface analysis. This type of surface analysis is destructive and should be invoked
with caution.
-y Causes diskscan to suppress the warning regarding destruction of existing data that is issued when -W is used.
OPERANDS
The following operands are supported:
raw_device The address of the disk drive (see FILES).
FILES
The raw device should be /dev/rdsk/c?[t?]d?[ps]?. See disks(1M) for an explanation of SCSI and IDE device naming conventions.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |x86 |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
SEE ALSO
addbadsec(1M), disks(1M), fdisk(1M), fmthard(1M), format(1M), attributes(5)
NOTES
The format(1M) utility is available to format, label, analyze, and repair SCSI disks. This utility is included with the diskscan, addbad-
sec(1M), fdisk(1M), and fmthard(1M) commands available for x86. To format an IDE disk, use the DOS format utility; however, to label, ana-
lyze, or repair IDE disks on x86 systems, use the Solaris format(1M) utility.
SunOS 5.10 24 Feb 1998 diskscan(1M)