04-05-2011
use
newfs /dev/rdsk/c0t2d0sx
where x = 0 or 1 or 2 or 3 or 4 or 5 or 6
you need to run format. select the new disk. setup the slice sizes and then run newfs against the slice(s) that you have created.
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need help in the form of the complete procedures necessary in setting up an Apache web server on a Sun Sparc running Solaris 8
David Johnston
P.S New to the Unix arena (1 Reply)
Discussion started by: David Johnston
1 Replies
2. Solaris
A sparc server has a new SCSI hard disk added and labeled by the engineer, but they need to be formatted identically to an existing disk (c4t0d0). You decide to script the process and run from the command line without interaction.
I know that the following command line must be achieve this.
#... (3 Replies)
Discussion started by: kingsan
3 Replies
3. Solaris
Hello,
Running a Sun Solaris 9 E250 and need advice or suggestions on what type of external hard disks are compatible and or available. It's an old machine and is due for replacement soon but in the short term need an external hard drive for backup etc as the partner/backup machine has just... (2 Replies)
Discussion started by: KenLynch
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. Solaris
Hi all,
I have application running on sun server T5440 4x8x1.4 GHz, 64 GB RAM, application running very slow though load average too low. when I install my application on another server SUN M3000 (One CPU 1x8x2.5GHz, 8GB RAM), application run smoothly.
Here is my server T5440 info:
... (6 Replies)
Discussion started by: insatiable1610
6 Replies
6. Solaris
show /HOST command shows that
status = OpenBoot Running
when in this state, can the power be unplugged from the server ?
we are unable to bring the status to "powered off". Even if we issue "stop /SYS" it will momentarily be in the powered off status and then go back to power on... (1 Reply)
Discussion started by: paulk93
1 Replies
7. Solaris
SPARC Enterprise T5440 Server, can not power off
I connect to Service Processor via serial port and submit the following to boot the system, it boots fine but can not power off the system. Can someone help?
The following takes me to unix login
-> start /SYS
-> start /SP/console... (6 Replies)
Discussion started by: paulk93
6 Replies
8. 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
cmdk(7D) Devices cmdk(7D)
NAME
cmdk - common disk driver
SYNOPSIS
cmdk@target, lun : [ partition | slice ]
DESCRIPTION
The cmdk device driver is a common interface to various disk devices. The driver supports magnetic fixed disks and magnetic removable
disks.
The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk
records. There is also a "raw" interface that provides for direct transmission between the disk and the user's read or write buffer. A sin-
gle read or write call usually results in one I/O operation; raw I/O is therefore considerably more efficient when many bytes are transmit-
ted. The names of the block files are found in /dev/dsk; the names of the raw files are found in /dev/rdsk.
I/O requests to the magnetic disk must have an offset and transfer length that is a multiple of 512 bytes or the driver returns an EINVAL
error.
Slice 0 is normally used for the root file system on a disk, slice 1 as a paging area (for example, swap), and slice 2 for backing up the
entire fdisk partition for Solaris software. Other slices may be used for usr file systems or system reserved area.
Fdisk partition 0 is to access the entire disk and is generally used by the fdisk(1M) program.
FILES
/dev/dsk/cndn[s|p]n block device (IDE)
/dev/rdsk/cndn[s|p]n raw device (IDE)
where:
cn controller n
dn lun n (0-7)
sn UNIX system slice n (0-15)
pn fdisk partition(0)
/kernel/drv/cmdk 32-bit kernel module.
/kernel/drv/amd64/cmdk 64-bit kernel module.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |x86 |
+-----------------------------+-----------------------------+
SEE ALSO
fdisk(1M), mount(1M), lseek(2), read(2), write(2), readdir(3C), scsi(4), vfstab(4), attributes(5), dkio(7I)
SunOS 5.10 9 Oct 2004 cmdk(7D)