Sponsored Content
Full Discussion: mounting 2nd hard drive
Operating Systems Solaris mounting 2nd hard drive Post 302350136 by gnom on Wednesday 2nd of September 2009 11:45:31 PM
Old 09-03-2009
when u have a new disk none of the slices are used. Usually s2 is the backup slice.

As an exercise you can put all on slice 0. After that you need to label your disk to store the configuration. Then put a new filesystem on the created slice 0

Code:
newfs /dev/rdsk/c1t0d0s0

make an entry in the vfstab

Code:
vi /etc/vfstab
/dev/dsk/c1t0d0s0      /dev/rdsk/c1t0d0s0      /test   ufs     2       no     -

create the mountpoint

Code:
mkdir /test

mount the new disk

Code:
mount /test

 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mounting lacie hard drive to another suns system

I have two unix workstations. One crashed :( , but the other is still operating efficiently. We have a Lacie external hard drive attached to the workstation that failed. I would like to mount the external drive to the workstation that is still functioning. I am not very familiar with how to do... (1 Reply)
Discussion started by: Tmarsha6
1 Replies

2. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

: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

3. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

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

4. SCO

mounting USB floppy drive /Flash drive in OSR 6.0

Can anybody help me out to mount USB flash /floppy drive in sco openserver 6.0 . (5 Replies)
Discussion started by: sureshdrajan
5 Replies

5. HP-UX

Mounting an external parallel hard drive

Can anyone please walk me through how to mount an external parallel (or scsi) hard drive in visualize C3000 machine? I also would like to mount "/var/sallie" directory in that external drive. My "/var/sallie" directory is running out of space so I would like to mount an external hard drive so that... (0 Replies)
Discussion started by: sallysallie
0 Replies

6. Linux

Help mounting a hard drive in Knoppix 3.7

Hi guys, Right off the bat i'm gonna say that i'm a total linux noob. this is the second time i've seen the interface... anyway that being said, here is my issue. I have a user that needs to get data off a hard drive. This hard drive won't mount in windows xp. Last time this happened one of... (1 Reply)
Discussion started by: Neadric
1 Replies

7. Linux

CD drive Mounting

Can any one suggest me how to mount the cd drive from unix? I have installed Ubuntu8.0 on my laptop. Your response is appreciated. (1 Reply)
Discussion started by: siba.s.nayak
1 Replies

8. Filesystems, Disks and Memory

Problem with accessing my 2nd hard drive

Hello I am having a problem with being able to use my 2nd hard drive as my new os doesn't recognize it. it is /dev/hdb2 and it shows as It is still in my system. it is a 73 gb hard drive and it is useless to me now. I used to have windows XP and had no problem with it,I have since changed to... (2 Replies)
Discussion started by: Donald Spauldin
2 Replies

9. BSD

Mounting a hard disk in FreeBSD

I have just installed a second hard disk on a FreeBSD machine v8.0. It is seen as new hardware: # dmesg | grep ad4 ad4: 953869MB <SAMSUNG HD103UJ 1AA01113> at ata2-master SATA300 ad4: 953869MB <SAMSUNG HD103UJ 1AA01113> at ata2-master SATA300 However it is not listed in fstab where "ad4"... (2 Replies)
Discussion started by: figaro
2 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)
All times are GMT -4. The time now is 07:57 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy