[j-nsp] Partition/Format new HD

Nalkhande Tarique Abbas ntarique at juniper.net
Fri Aug 21 14:13:08 EDT 2009


Brendan,

Your new hdd doesn't look to be in good shape, how about a quick health
check?

A smartd,

root at RADIUM-RE0-Tarique% smartd -oX /dev/ad1
Drive Command Successful, Extended Self test has begun
Please wait 17 minutes for test to complete
Use smartd -oA to abort test

Ensure alternate super block exists,

root at RADIUM-RE0-Tarique% newfs -N /dev/ad1s1a
root at RADIUM-RE0-Tarique% newfs -N /dev/ad1s1e

Perform filechecks,

<run these several times>
root at RADIUM-RE0-Tarique% fsck -f /dev/ad1s1a
root at RADIUM-RE0-Tarique% fsck -f /dev/ad1s1e

{-f : Force fsck to check `clean' filesystems when preening}

If the above fails, we could preen.

root at RADIUM-RE0-Tarique% fsck -p /dev/ad1s1a
root at RADIUM-RE0-Tarique% fsck -p /dev/ad1s1e

-p : Preen filesystems

Some of the corrective actions which are not correctable under the -p
option can result in some loss of data.  


The above checks will determine our next step.


 
Thanks & Regards,
Tarique A. Nalkhande

-----Original Message-----
From: juniper-nsp-bounces at puck.nether.net
[mailto:juniper-nsp-bounces at puck.nether.net] On Behalf Of Brendan
Mannella
Sent: Friday, August 21, 2009 10:03 PM
To: juniper-nsp at puck.nether.net
Subject: [j-nsp] Partition/Format new HD

Hello,

I have been battling trying to replace a failed hard disk on my juniper
m7i.
I have finally got the disk to be recognized by the system. Now I need
to
put all the partitions back. The router successfully boots from the CF
so I
can run system commands.

I tried..

root at ibr1.pit> request system partition hard-disk
mount: /dev/ad1s1e on /altconfig: incorrect super block
ERROR: Can't access hard disk, aborting partition.

Am I missing a command first?

Thanks,

BRendan
_______________________________________________
juniper-nsp mailing list juniper-nsp at puck.nether.net
https://puck.nether.net/mailman/listinfo/juniper-nsp


More information about the juniper-nsp mailing list