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
hdio(7I)							  Ioctl Requests							  hdio(7I)

NAME
hdio - SMD and IPI disk control operations SYNOPSIS
#include <sys/hdio.h> DESCRIPTION
Note - The SMC and IPI drivers have been discontinued. dkio(7I) is now the preferred method for retrieving disk information. The SMD and IPI disk drivers supplied with this release support a set of ioctl(2) requests for diagnostics and bad sector information. Basic to these ioctl() requests are the definitions in <sys/hdio.h>. IOCTLS
HDKIOCGTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() gets specific information from the hard disk. HDKIOCSTYPE The argument is a pointer to a hdk_type structure (described below). This ioctl() sets specific information about the hard disk. /* * Used for drive info */ struct hdk_type { ushort_t hdkt_hsect; /* hard sector count (read only) */ ushort_t hdkt_promrev; /* prom revision (read only) */ uchar_t hdkt_drtype; /* drive type (ctlr specific) */ uchar_t hdkt_drstat; /* drive status (ctlr specific, ro) */ }; HDKIOCGBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to get the bad sector map from the disk. HDKIOCSBAD The argument is a pointer to a hdk_badmap structure (described below). This ioctl() is used to set the bad sector map on the disk. /* * Used for bad sector map */ struct hdk_badmap { caddr_t hdkb_bufaddr; /* address of user's map buffer */ }; HDKIOCGDIAG The argument is a pointer to a hdk_diag structure (described below). This ioctl() gets the most recent command that failed along with the sector and error number from the hard disk. /* * Used for disk diagnostics */ struct hdk_diag { ushort_t hdkd_errcmd; /* most recent command in error */ daddr_t hdkd_errsect; /* most recent sector in error */ uchar_t hdkd_errno; /* most recent error number */ uchar_t hdkd_severe; /* severity of most recent error */ }; SEE ALSO
ioctl(2), dkio(7I) SunOS 5.11 13 Aug 2002 hdio(7I)
All times are GMT -4. The time now is 07:55 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy