NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Greetings and first question



First of all I would like to greet all the people in the list, I've
been reading and working with NetBSD from some months after trying
other *nix tastes.

Now here comes my first problem:

We have a little box with NetBSD which was installed by an ex-admin in
my company. The worst thing is that the machine has a CCD configured
with some files which need to be salvaged.

The CCD is composed of two 500Gb SATA disks, the disklabels from both
disks are lost and the disklabel from the CCD disk is lost too.

I've tried from de /var/backups disklabels but doesn't work (when
tried to mount it says incorrect superblock :( ).
I've tried scan_ffs -l but the info it gives doesn't work neither.

I'm afraid to force a fsck_ffs because i've read it can corrupt the
data definitively.

Is there any way to get my CCD device working again? Should I still
playing with disklabels?

These are the disklabel output:

# disklabel wd1
# /dev/rwd1d:
type: ESDI
disk: SAMSUNG HD501LJ
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 976773168         0     4.2BSD      0     0     0  # (Cyl.      0 - 969020)
 d: 976773168         0     unused      0     0        # (Cyl.      0 - 969020)



# disklabel wd2
# /dev/rwd2d:
type: ESDI
disk: SAMSUNG HD501LJ
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 969021
total sectors: 976773168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

4 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 a: 976773168         0     4.2BSD      0     0     0  # (Cyl.      0 - 969020)
 d: 976773168         0     unused      0     0        # (Cyl.      0 - 969020)



# disklabel ccd0
# /dev/rccd0d:
type: ccd
disk: ccd
label: fictitious
flags:
bytes/sector: 512
sectors/track: 2048
tracks/cylinder: 1
sectors/cylinder: 2048
cylinders: 953880
total sectors: 1953546304
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 c: 1953546241        63     unused      0     0        # (Cyl.
0*- 953880*)
 d: 1953546304         0     unused      0     0        # (Cyl.      0
- 953880*)
 e: 1953546241        63     4.2BSD      0     0     0  # (Cyl.
0*- 953880*)


More info is that the label says "total sectors: 1953546304" but the
kernel spits a warning:

WARNING: ccd0: total sector size in disklabel (1953546304) != the size
of ccd (1953546336)

I've tried to change the labal info with the size of ccd but doesn't work.

Any help?

Thanks a lot.

-- 
Samuel Partida Amores
-----------------------------------
samuel.partida%gmail.com@localhost


Home | Main Index | Thread Index | Old Index