Add new hard disk to sun sparc server?


 
Thread Tools Search this Thread
Operating Systems Solaris Add new hard disk to sun sparc server?
# 1  
Old 05-01-2006
Add new hard disk to sun sparc server?

A sparc server has a new SCSI hard disk added and labeled by the engineer, but they need to be formatted identically to an existing disk (c4t0d0). You decide to script the process and run from the command line without interaction.

I know that the following command line must be achieve this.

# prtvtoc /dev/rdsk/c4t0d0s2 > /tmp/c4t0d0.vtoc
# fmthard -s /tmp/c4t0d0.vtoc /dev/rdsk/<newdisk>s2

Can anyone tell me what is the whole steps that how can add new SCSI hard disk to sparc server?
# 2  
Old 05-01-2006
What solaris version?
# 3  
Old 05-01-2006
Solaris 10
# 4  
Old 05-02-2006
this is a partial solution because it looks like a homework question, I will not give a complete answer, but it shouldn't be too hard to figure out the rest.

Code:
#! /usr/bin/ksh
#

origRdisk=/dev/rdsk/${1}s2
prtvtoc ${_origRdisk}s2 > /tmp/${1}.$$
newRdisk=/dev/rdsk/${newdisk}s2
fmthard -s /tmp/${1}.$$ ${newRdisk}

Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Sun Fire v440 Hard disk or controller broken? WARNING: /pci@1f,700000/scsi@2/sd@0,0 (sd1)

Hi, I have a Sun Fire V440 server that fails to boot up correctly. A lot of services are not started and the sytems acts really slow to commands. During boot I can see the following Error: WARNING: /pci@1f,700000/scsi@2/sd@0,0 (sd1): SCSI transport failed: reason 'reset': retrying... (15 Replies)
Discussion started by: oliwei
15 Replies

2. Hardware

sun sparc server hdd sled

does anyone know where to look for that piece of metal attached to hard drive that inserts it into server (fire v125)? I've tried ebay, with no luck. (seller requires verified paypal address which is unpossible here) (0 Replies)
Discussion started by: orange47
0 Replies

3. Solaris

Adding new hard drives on Sun SPARC T5440 server with Solaris 10

I need to add two new hard drives of 300 GB capacity to a SunSPARC T5440 server. The server currently has two hard drives of 146 GB each. How do I add the new drives to the existing UFS? What are the procedures involved in setting this server with the new hard drives? I am very new to Solaris... (6 Replies)
Discussion started by: ramatnmcc
6 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. Red Hat

How to monitor HP server hard disk failure ?

in red hat 4, 5 any one know any commands or any scritps to monitor HP DL 380 G5/6 server and trigger alarm when hard disk failed. thanks for all support ---------- Post updated at 02:45 PM ---------- Previous update was at 12:00 PM ---------- does HP ProLiant Support Pack support is... (4 Replies)
Discussion started by: maxlee24
4 Replies

6. Solaris

Sun Sparc Ultra 4 won't boot - disk errors

Hi all. I am seeing in one of our less-used servers that it crashed and now won't restart. I get the message 'continue with normal startup or boot into maintenance mode'. I go into maintenance and run fsck on /usr0 (mentioned in error at restart) it then reboots but goes right back to... (3 Replies)
Discussion started by: jamie_collins
3 Replies

7. Solaris

Accessing a StorageTek 2530 Disk array from SUN, SPARC Enterprise T2000

Hello, Wondering if anyone can help me with mounting a file share from my Sun T2000 server running Solaris 10 to my connected 2530 disk array? I believe I've connected the disk array correctly and I have created a volume on the array using the filesystem (Sun_SAM-FS, RAID-5). The T2000... (15 Replies)
Discussion started by: DundeeDancer
15 Replies

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