Getting back my CCD Raid

2004-11-16 Thread Gerard Samuel
I had a ccd raid 0 drive setup under 4.10.
I did a fresh install of 5.3, with the thought, that I could just
reenable the settings for the ccd drive, to bring it back to life
with its data intact.
1.  Added "device  ccd" to the kernel and rebuilt it.
2.  Verified that the disklabels are intact for the drives ad0/ad2
# /dev/ad0:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 c: 534643200unused0 0 # "raw" part, 
don't edit
 e: 5346432004.2BSD0 0 0

# /dev/ad2:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 c: 534643200unused0 0 # "raw" part, 
don't edit
 e: 5346432004.2BSD0 0 0

3.  Ran "ccdconfig ccd0 32 0 /dev/ad0e /dev/ad2e"
4.  Ran "ccdconfig -g > /etc/ccd.conf"
5.  Try mounting the ccd with "mount /dev/ccd0c /storage" and I get
mount: /dev/ccd0c: No such file or directory
The device does exist ->
hivemind# ls -al /dev/ccd*
crw-r-  1 root  operator4,  49 Nov 16 19:16 /dev/ccd0
I even tried configuring the drive before mounting but ->
hivemind# ccdconfig -C
ccdconfig: Unit 0 already configured
or possibly kernel and ccdconfig out of sync
Could someone point out to me, what Im doing wrong?
Or is it even possible to achieve the results that Im looking for?
Should I be reconstructing the raid from scratch, deleting the data on them?
Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Getting back my CCD Raid

2004-11-16 Thread Olivier Nicole
> mount: /dev/ccd0c: No such file or directory
> hivemind# ls -al /dev/ccd*
> crw-r-  1 root  operator4,  49 Nov 16 19:16 /dev/ccd0

It seems that the device does not exists rather :)

You have /dev/ccd0 but not /dev/ccd0C !

First of all I'd try MAKEDEV

Olivier
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Getting back my CCD Raid

2004-11-16 Thread Gerard Samuel
Olivier Nicole wrote:
mount: /dev/ccd0c: No such file or directory
hivemind# ls -al /dev/ccd*
crw-r-  1 root  operator4,  49 Nov 16 19:16 /dev/ccd0
   

It seems that the device does not exists rather :)
You have /dev/ccd0 but not /dev/ccd0C !
First of all I'd try MAKEDEV
Im running 5.3 (maybe that wasn't clear in the original email).
I shouldn't have to run MAKEDEV
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Getting back my CCD Raid

2004-11-17 Thread Gerard Samuel
Gerard Samuel wrote:
I had a ccd raid 0 drive setup under 4.10.
I did a fresh install of 5.3, with the thought, that I could just
reenable the settings for the ccd drive, to bring it back to life
with its data intact.
1.  Added "device  ccd" to the kernel and rebuilt it.
2.  Verified that the disklabels are intact for the drives ad0/ad2
# /dev/ad0:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 c: 534643200unused0 0 # "raw" part, 
don't edit
 e: 5346432004.2BSD0 0 0

# /dev/ad2:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 c: 534643200unused0 0 # "raw" part, 
don't edit
 e: 5346432004.2BSD0 0 0

3.  Ran "ccdconfig ccd0 32 0 /dev/ad0e /dev/ad2e"
4.  Ran "ccdconfig -g > /etc/ccd.conf"
5.  Try mounting the ccd with "mount /dev/ccd0c /storage" and I get
mount: /dev/ccd0c: No such file or directory
The device does exist ->
hivemind# ls -al /dev/ccd*
crw-r-  1 root  operator4,  49 Nov 16 19:16 /dev/ccd0
I even tried configuring the drive before mounting but ->
hivemind# ccdconfig -C
ccdconfig: Unit 0 already configured
or possibly kernel and ccdconfig out of sync
Could someone point out to me, what Im doing wrong?
Or is it even possible to achieve the results that Im looking for?
Should I be reconstructing the raid from scratch, deleting the data on 
them?

Thanks 

Any other ideas???
Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"