Pointing one hard drive name to another disk

Thread Tools Search this Thread
Special Forums Hardware Filesystems, Disks and Memory Pointing one hard drive name to another disk
# 1  
Old 06-24-2005
Pointing one hard drive name to another disk

Pointing one hard drive name to another disk


I have 2 disk drives - s2d9 & s2d11 on a solaris Unix system

It was mapped so that anything that tried to call s2d9 would be pointed to s2d11 since s2d9 was bad. This was done because we have tons of software pointing to the s2d9 disk.

We had a system crash and that link is now gone.

Anyone know how/where to redefine this drive mapping ?

# 2  
Old 06-24-2005
Sounds as if there was a soft or hard link - but from what I'm not sure from the information you gave.

I've never seen a link from going from a disk to a disk the way you state it. Post some more info such as:
Solaris version
Better info on what exactly s2d9 AND s2d11 are - is it a partition, directory, disk device file?

If you are mounting a partition on a disk as s2d11, then the output of df -k should have /s2d11 in it which points to the particular slice on a disk. You should be able to just use the ln command to set up a soft link
ln -s /s2d11 /s2d9
# 3  
Old 06-24-2005
Disk remapping

Thx for your reponse. The systems are running Solaris 8.0.
Both s2d9 & s2d11 are Disk Devices.

df -k info from eidsrv02:

Filesystem kbytes used avail capacity Mounted on
/proc 0 0 0 0% /proc
/dev/dsk/c0t0d0s0 33270310 1143991 31793616 4% /
fd 0 0 0 0% /dev/fd
/dev/dsk/c0t8d0s0 35284677 24543656 10388175 71% /s2d12
/dev/dsk/c0t9d0s0 35284677 20239173 14692658 58% /s2d11
/dev/dsk/c0t10d0s0 35284677 12624638 22307193 37% /s2d10
/dev/dsk/c0t11d0s0 35284677 3432533 31499298 10% /s2d9
/dev/dsk/c0t12d0s0 35284677 31285056 3646775 90% /s2d8
eidsrv01:/s1d8/tools 35284677 28504429 6427402 82% /tools
/s2d9 35284677 3432533 31499298 10% /eidsrv02/s2d9


Last edited by andy57s; 06-24-2005 at 03:40 PM.. Reason: More info added
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Hardware

Hitachi SATA hard disk drive password locked

Hi everyone (see attachments) I bought an HP Elitebook 8460p on eBay and it came with a password-locked Hitachi hard drive which I was told is the original hard drive. I don't know the password for the drive and running the diagnostics tools I see the hard drive is healthy. I tried booting... (9 Replies)
Discussion started by: milhan
9 Replies

2. Shell Programming and Scripting

Disk usage with links pointing to files on same FS

I want count size of all directories on my current File System including size of links only if the target of these links is on same filesystem. I tried below but it gives size of link target even if its on a different FS: du -skL * also the -x option did not help. Any help. (2 Replies)
Discussion started by: pratikgupta123
2 Replies

3. Solaris

Hard Errors on Disk Drive

Hi, What are the initial checks needs to be done while observing hard errors on one of the hard disk drive. Thanks, Babu. (1 Reply)
Discussion started by: lbreddy
1 Replies

4. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

5. Filesystems, Disks and Memory

USB Pen Drive & Hard Disk

Hi Guys, I have an external USB Hard Disk Drive on which I have 3 partitions and it works fine under Windows XP but when I am using Red Hat Linux 5 I don't see any icon for this USB HDD. Also I am not able to browse my USB Pen Drive. However, I can use it under Mandrake Linux without any... (4 Replies)
Discussion started by: indiansoil
4 Replies

6. UNIX for Advanced & Expert Users

The art of wrecking an hard disk drive.

Any creative ideas on how to wreck / secure clean an hard disk drive before disposal? dd if=/dev/zero of=/dev/disk_drive? shred -n whatever -z /dev/disk_drive? Magnet? (false sense of security) Fire? Hammer? Acid? Post your thoughts. (10 Replies)
Discussion started by: redoubtable
10 Replies

7. Solaris

USB Hard Disk Drive Supported by Sun Fire V890

Hi, Can anyone suggest me any USB Hard Disk Drive which I can connect to Sun Fire V890 and take backup at a quick speed. A test with SolidState USB Hard Drive for backup work was taking writing at 2GB per hour for a 75GB backup. Regards, Tushar Kathe (1 Reply)
Discussion started by: tushar_kathe
1 Replies

8. UNIX for Dummies Questions & Answers

Hard Disk drive space gone missing...

Sorry if this is totally the wrong place to post this but I have a question or something rather thats bugging me. I got a new Dell Inspiron laptop the other day and I was expecting it to have 80G on it, well atleast 70 or so after installation of OS and such but after looking carefully yesterday, I... (8 Replies)
Discussion started by: Ecclesiastes
8 Replies

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

10. 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
Login or Register to Ask a Question

Featured Tech Videos