Mount Second Disk


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Mount Second Disk
# 1  
Old 06-20-2006
Question Mount Second Disk

Anyone,

I am trying to mount a second hard drive on a sunfire V120 w/solaris 5.8. I took this hard drive from another system because I deleted some files off that system and I want to mount it to another system so I can copy the file back onto the system. I really have no other means of getting the file of the known good system (CD/floppy). I inserted the drive into a second bay (supposedly disk1 slot).

Let it be known that I am far from a gurru at Unix. What I've learned is stricly self taught from bits and bits of reading.

I inserted the disk and booted the system. I then tried to to copy the file

cp -r [directory] /dev/disk1/home (I made that command up I'm sure) needless to say it didn't work.

what I want to do is beable to mount this second disk and be able to access it from the first disk kinda like you would a cdrom [cd /cdrom/cdrom0].


or I will be checking this thread periodically.

Thanks in Advance

Last edited by dummy101; 06-23-2006 at 04:31 AM..
# 2  
Old 06-20-2006
Helo. First of all, in the forum rules you can read:
Code:
(10) Don't post your email address and ask for an email reply. 
The forums are for the benefit of all, so all Q&A should take place in the forums.

Smilie

On the secon hand, assuming you do not use solstice or veritas...
Use the "format" comand to check that your OS sees the new disk.
Once you have the name, mount the slice you are interested in with something like this:
mount /dev/dsk/cXtYdZsW /path/to/mount
Where cXtYdZsW is the slice you want to mount.

Regards.
# 3  
Old 06-20-2006
Thank you for the Insigt. I apologize for the rule break. Will try your recommendation.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Mount /app on a new DISK

Hi folks, because of disk space problem my root is almost full..The root is mounted on rpool and i want to move /app on a new disk, is that possible without compromising any link?How can i do that? I use solaris 10 Thank you in advance, Matt ---------- Post updated at 04:36 PM... (8 Replies)
Discussion started by: mattpunk
8 Replies

2. Solaris

Please help me.how to mount another disk

So. My system have 2 solaris10 machine but system disk of machine 1 data crash.I bring the system disk of machine 1 install on machine2 for get data from disk machine1 but I can't mount disk. because msg is bash-3.00# mount /dev/dsk/c1t3d0s0 /mnt mount: /dev/dsk/c1t3d0s0 is not this fstype... (3 Replies)
Discussion started by: infjustice
3 Replies

3. AIX

Discovery/Mount new disk

Hi all, i must add a new disk on a LPAR. I've done all the HMC and VIOS Procedure to create a virtual host with disk and assign it to lpar. I don't remember how i must do on the lpar to see this disk. (i use lvm not veritas). Thanks in advance and sorry for my english. Bye Mario (2 Replies)
Discussion started by: Zio Bill
2 Replies

4. Ubuntu

Unable to mount disk

I am running Ubuntu Server, I recently added a new hard drive to the machine When I run fdisk -l I see both drives. The recently added drive is present but it's listed as extended. when I try to mount the drive it says you must specify the file system type. I can't mount this drive, I was... (2 Replies)
Discussion started by: NelsonC
2 Replies

5. Shell Programming and Scripting

if (disk is mounted) unmount if (disk is unmounted) mount

Hey there, sorry if this is a bit too much of a noob question, trying to get to grips with a simple bash script - but i have done ZERO bash scripting. basically having worked out how to mount and unmount disks using: disktool -m *device* & disktool -e *device* - and looking at the result of... (2 Replies)
Discussion started by: hollister
2 Replies

6. OS X (Apple)

Mount a disk elsewhere /Volumes

When a new disk is connected to a Mac/OSX, it automatically mounts on /Volumes. Is it possible to manually mount it elsewhere? For example, on "/raid"? - m66 - (5 Replies)
Discussion started by: makrell66
5 Replies

7. Linux

I want to mount my disk forever

Hi guys! I've just mounted my drive in fstab: /dev/sdb /myfolder ext3 defaults 0 0 and rebooted linux. I've got severel failers during booting process and also I can't login as root first time: login: root password:root incorrect login login:user password: user ... (1 Reply)
Discussion started by: Junior Admin
1 Replies

8. UNIX for Dummies Questions & Answers

How to mount disk for non-root accounts?

I have a USB disk on a little NAS controller (NSLU2 running unslung 6.8) that I can access nicely with root with mount -t cifs \\\\10.134.23.23\\DISK\ 2 /mnt/LKGD7F73A However, when I run emacs from an user mode xterm prompt, emacs cannot read and write the files on /mnt/LKGD7F73A. Emacs can... (11 Replies)
Discussion started by: siegfried
11 Replies

9. UNIX for Dummies Questions & Answers

Vfstab on spare disk - HOW ? Mount ?

Hi, guys ! Could someone clarify one thing for me: I start machine from disk0, and want to check the /etc/vfstab on disk1. How do i do it ? Tried to write: cd / mount /dev/dsk/c0t1d0s0 /mnt But if I do cd /mnt, it is empty. I expected to see disk1 there ? Or am I wrong ? How do I... (3 Replies)
Discussion started by: DGoubine
3 Replies

10. UNIX for Advanced & Expert Users

mount disk on other machine

I have two Unix machines on the network and now one of them are running out of disk but i have alot on the other so i like to mount the disk (or a folder) from the one that has disk and mount it on the other that does not. How do i do that? Is it possible i read the "man mount" but didn't really... (5 Replies)
Discussion started by: sajjan2
5 Replies
Login or Register to Ask a Question