Visit Our UNIX and Linux User Community


mounting 2nd hard drive


 
Thread Tools Search this Thread
Operating Systems Solaris mounting 2nd hard drive
# 1  
Old 09-02-2009
mounting 2nd hard drive

Sun 280R, Solaris 5.8....

I have inserted a 2nd hard drive on my system. 'format' recognized the disk, but I cannot figure out how to access the disk. Any help is appreciated!
# 2  
Old 09-02-2009
If you can see the disk in format then where is the issue, partition the slice, label it and then exit from format. Place ufs file system with newfs, put the entry in /etc/vfstab, mount it and use it

Last edited by kumarmani; 09-03-2009 at 09:47 AM..
# 3  
Old 09-02-2009
type these commands

# format
(select the disk)

#partition

#print
(give us the output)

THEN

select a slice that is not being used

for example slice4

#4
choose the size of the slice

#label
type y to confirm

quit out of the format utility

newfs /dev/rdsk/c0t0d0s4 <--whatever your disk is

NOW you can mount

mount /dev/rdsk/c0t0d0s4 /mnt

I'm a pretty big newb myself, but I just performed those steps myself
# 4  
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


Previous Thread | Next Thread
Test Your Knowledge in Computers #79
Difficulty: Easy
GNU/Linux is directly descended from BSD.
True or False?

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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. 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

7. 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

8. 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

9. 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

Featured Tech Videos