02-08-2011
are the disks the same geometry (make, model, size, etc) ?
This User Gave Thanks to citaylor For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What are the options on upgrading disk space in an Ultra 10 workstation? Sun states they are EIDE drives, are they standard or Sun specific?
Thanks (1 Reply)
Discussion started by: 98_1LE
1 Replies
2. Filesystems, Disks and Memory
I have a Sun Ultra 10/Solaris 2.7 with a differential SCSI card connected to a Supter DLt1 Tape Drive. When I boot the machine, and I do a probe-scsi-all in the very beginning of the boot process. It shows up correctly. If I wait for the boot process to proceed and then I do a probe-scsi-all, I get... (1 Reply)
Discussion started by: brv
1 Replies
3. UNIX for Dummies Questions & Answers
I have just started getting into unix and aquired a Sun Ultra 5 however the disk failed and I want to replace it with a spare maxtor 40Gb i have lying around. I need to partition and format the disk from its old windows format. I have looked up info on the format command in solaris 9 and I think i... (2 Replies)
Discussion started by: kalm
2 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. Solaris
Hi,
Can anyone suggest me any USB Hard Disk Drive which I can connect to Sun Fire V890 and take backup at a quick speed. A test with SolidState USB Hard Drive for backup work was taking writing at 2GB per hour for a 75GB backup.
Regards,
Tushar Kathe (1 Reply)
Discussion started by: tushar_kathe
1 Replies
7. Solaris
Guys,
I have googled and checked this forum in detail and couldn't find any satisfactory answers for my problem.
I am trying to connect a external SCSI hard Drive(Sea Gate) to a Ultra 80.
I connected it powered it up and at OK prompt did : boot -r
system comes up and complains about not... (6 Replies)
Discussion started by: ajnabi
6 Replies
8. Solaris
Greetings!!
I've been tasked with decommissioning a group of older Sun servers. I have several SunFire 280r among them as well as some others. I have asolutely no experience with Sun systems and find myself in a bit of a pickle. I need two things
... someone to explain to me in grade... (5 Replies)
Discussion started by: Tenuous
5 Replies
9. Hardware
As the title suggests, I'm trying to install a second drive (really want an OS mirror) on a Sun Netra X1.
I've taken the spacer out, and had a go at with the drill-press so now I have a nice HDD tray. Have installed an IDE drive in the tray, plugged in the power and data cables that were... (0 Replies)
Discussion started by: Smiling Dragon
0 Replies
LEARN ABOUT ULTRIX
creatediskbyname
creatediskbyname(3x) creatediskbyname(3x)
Name
creatediskbyname - get the disk description associated with a file name
Syntax
#include <disktab.h>
struct disktab *
creatediskbyname(name)
char *name;
Description
The subroutine takes the name of the character device special file representing a disk device (for example, and returns a structure pointer
describing its geometry information and the default disk partition tables. It obtains this information by polling the controlling disk
device driver. The subroutine returns information only for MSCP and SCSI disks.
The file has the following form:
#define DISKTAB "/etc/disktab"
struct disktab {
char *d_name; /* drive name */
char *d_type; /* drive type */
int d_secsize; /* sector size in bytes */
int d_ntracks; /* # tracks/cylinder */
int d_nsectors; /* # sectors/track */
int d_ncylinders; /* # cylinders */
int d_rpm; /* revolutions/minute */
struct partition {
int p_size; /* #sectors in partition */
short p_bsize; /* block size in bytes */
short p_fsize; /* frag size in bytes */
} d_partitions[8];
};
struct disktab *getdiskbyname();
struct disktab *creatediskbyname();
Diagnostics
Successful completion of the subroutine returns a pointer to a valid disktab structure. Failure of this subroutine returns a null pointer.
The subroutine fails if it cannot obtain the necessary information from the device driver or disktab file.
A check is done to ensure that the disktab file exists and is readable. This check ensures that the subroutine is not being called because
the disktab file was accidentally removed. If there is no disktab file, the subroutine fails.
The subroutine also fails if it cannot determine disk geometry attributes by polling the driver. This can occur if the disk is not an MSCP
or SCSI disk. In some cases where the disk consists of removable media and the media is not loaded, the driver will be unable to determine
disk attributes.
Restrictions
The subroutine returns information only for MSCP and SCSI disks.
See Also
getdiskbyname(3x), ra(4), rz(4), disktab(5)
creatediskbyname(3x)