routing problem after replacing hard drive


 
Thread Tools Search this Thread
Operating Systems Solaris routing problem after replacing hard drive
# 1  
Old 05-01-2009
routing problem after replacing hard drive

Need to replace hard drive on Ultra 10 running Solaris 2.6.
Bought new drive about the same size.
Partitioned it differently to solve a space problem.
After newfs used tar commands to copy most of the files to the new drive.
Installboot took care of the boot file.
ufsdump copied /dev and /devices.
After boot -r the computer boots and runs ok with new drive except no internet access.
During booting when the default route would normally be added I get:
route: socket: protocol not supported
When the multicast interface would normally be added the same error message is shown.
I used truss on route to manually add a default route but the output wasn't very helpful.
so_socket(24, 4, 0, "", 1) returns 3 on the old drive but Err#124 EAFNOSUPPORT
with the new drive.

Any suggestions on what the problem might be or where to look for it?
# 2  
Old 05-01-2009
There is no reason a disk would change socket behavior.

I would have used ufsdump output done before the original disk failure. In any case, the cause is probably a corrupted/incorrect archive.

You should check core Solaris packages for missing files or wrong checksums with "pkgchk SUNWcsu SUNWcsr SUNWcsl SUNWcslr".
# 3  
Old 05-02-2009
I found that /sbin/soconfig was corrupted. The problem is solved.

I used tar to copy most of the files because I was somewhat familiar with it, it is used for backups and it accepts include/exclude lists. Why would ufsdump have been better to use? Would that have been less likely to corrupt files?

Thanks for the help!
# 4  
Old 05-03-2009
tar is good for archiving directories but poorly suited for system backups.
tar isn't corrupting files but can miss some of them given its limitations in path and filename length. tar is also unable to backup extended attributes like ACLs, doesn't properly handle sparse files, has limits on uig/gid and file size.
ufsdump doesn't have any of these limitations.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Problem setting path to external hard drive as a variable

Hello all, I am EXTREMELY new to using bash and I have a bit of a problem: I'm trying to set up a shell script that can 1.) take one of several giant files off of an external hard drive 2.) use it as input for scripts on my laptop's hard drive ... (3 Replies)
Discussion started by: machine_spirit
3 Replies

2. UNIX for Dummies Questions & Answers

Problem with damaged hard drive during bootup

Hello, I have a problem with the hard drive connected to my setup. When I connect the HDD which is damaged, and try to bring up my system, I get some error messages continuously on my console saying ata2.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x0 frozen ata2.01: failed command:... (4 Replies)
Discussion started by: sai2krishna
4 Replies

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

4. SCO

Booting problem due to adding hard drive incorrectly

I have tried to (unsuccessfully) add an old drive to get drivers (for the 3Com network card) onto a Sco Openserver 5.1 server. Now it wont boot: I used Sco Admin to do this. It have 3 scuzzi drives I added an IDE I think what I did wrong was add the IDE to existing space, and I should not have... (6 Replies)
Discussion started by: lappies67
6 Replies

5. SCO

USB hard drive problem

I have a USB hard drive attached to my SCO OSR6 machine I accidently powered it off while it was mounted and now the OS complains when you try to re-mount it and it appears that it is complaining because it has a new device number so it isn't at the original device location anymore. does anyone... (1 Reply)
Discussion started by: garycrow
1 Replies

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

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

8. Linux

hard drive specs?

Does anybody know what command will bring up my harddrive and how much room is left on it? (13 Replies)
Discussion started by: byblyk
13 Replies

9. UNIX for Dummies Questions & Answers

currupted my hard drive

Hello, earlier tonight I was installing BETA version of Mandrake Linux 9.0 and I realised I needed to partition my drive. I tried making the partition within mandrake but ther wasnt an option within the mandrake setup. So i go into my WindowsXP and do the disk management option but there want a... (5 Replies)
Discussion started by: xcaliber
5 Replies
Login or Register to Ask a Question