Corrupted Disk? [Was: Re: FreeBSD 5.x CCD]

2004-11-18 Thread Gerard Samuel
Gerard Samuel wrote:
Kris Kennaway wrote:
On Wed, Nov 17, 2004 at 09:22:51PM -0500, Gerard Samuel wrote:
 

Well you just burst my bubble.
I was hoping I was missing a node.  Im trying to figure out a 
problem Im
having -
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064973.html 

Thanks
  

Just mount /dev/ccd0 instead of /dev/ccd0c since the latter refers to
the entire disk anyway.
Here is what I did...
1.  Unconfigured ccd
hivemind# ccdconfig -U -f /etc/ccd.conf
2.  Reconfigured it
hivemind# ccdconfig -C -f /etc/ccd.conf
3.  Tried mount the drive the way you recommended, and got
hivemind# mount /dev/ccd0 /storage
mount: /dev/ccd0: Operation not permitted
Im going to try googling to see what I can find out.
But if anyone knows why I cannot mount this, then by all means,
let me know.
Thanks 
I noticed this in the logs when I was trying to mount the disk -
Nov 18 09:05:20 hivemind kernel: WARNING: R/W mount of /storage denied.  
Filesystem is not clean - run fsck

I ran fsck a few times, but it could fix the drive.
hivemind# fsck -t ffs -y /dev/ccd0
--snip--
** Phase 2 - Check Pathnames
MISSING '.'  I=896624  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:18 2004
DIR=?
CANNOT FIX, FIRST ENTRY IN DIRECTORY CONTAINS mesg.27.2.jar
MISSING '..'  I=896624  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:18 2004
DIR=?
CANNOT FIX, SECOND ENTRY IN DIRECTORY CONTAINS mesg.28.2.jar
DIRECTORY CORRUPTED  I=941361  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
SALVAGE? yes
MISSING '.'  I=941361  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
FIX? yes
DIRECTORY CORRUPTED  I=941362  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
SALVAGE? yes
MISSING '.'  I=941362  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
FIX? yes
DIRECTORY CORRUPTED  I=941365  OWNER=nobody MODE=40755
SIZE=1024 MTIME=Jun 11 23:19 2004
DIR=?
SALVAGE? yes
MISSING '.'  I=941365  OWNER=nobody MODE=40755
SIZE=1024 MTIME=Jun 11 23:19 2004
DIR=?
FIX? yes
DIRECTORY CORRUPTED  I=941393  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
SALVAGE? yes
MISSING '.'  I=941393  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
CANNOT FIX, FIRST ENTRY IN DIRECTORY CONTAINS
fsck_ffs: inoinfo: inumber -2115204267 out of range
My question.  If fsck cannot repair a drive, does it mean that all hope 
is lost?
Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Corrupted Disk? [Was: Re: FreeBSD 5.x CCD]

2004-11-18 Thread Gerard Samuel
Gerard Samuel wrote:
Gerard Samuel wrote:
Kris Kennaway wrote:
On Wed, Nov 17, 2004 at 09:22:51PM -0500, Gerard Samuel wrote:
 

Well you just burst my bubble.
I was hoping I was missing a node.  Im trying to figure out a 
problem Im
having -
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064973.html 

Thanks
  

Just mount /dev/ccd0 instead of /dev/ccd0c since the latter refers to
the entire disk anyway.
Here is what I did...
1.  Unconfigured ccd
hivemind# ccdconfig -U -f /etc/ccd.conf
2.  Reconfigured it
hivemind# ccdconfig -C -f /etc/ccd.conf
3.  Tried mount the drive the way you recommended, and got
hivemind# mount /dev/ccd0 /storage
mount: /dev/ccd0: Operation not permitted
Im going to try googling to see what I can find out.
But if anyone knows why I cannot mount this, then by all means,
let me know.
Thanks 

I noticed this in the logs when I was trying to mount the disk -
Nov 18 09:05:20 hivemind kernel: WARNING: R/W mount of /storage 
denied.  Filesystem is not clean - run fsck

I ran fsck a few times, but it could fix the drive.
hivemind# fsck -t ffs -y /dev/ccd0
--snip--
** Phase 2 - Check Pathnames
MISSING '.'  I=896624  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:18 2004
DIR=?
CANNOT FIX, FIRST ENTRY IN DIRECTORY CONTAINS mesg.27.2.jar
MISSING '..'  I=896624  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:18 2004
DIR=?
CANNOT FIX, SECOND ENTRY IN DIRECTORY CONTAINS mesg.28.2.jar
DIRECTORY CORRUPTED  I=941361  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
SALVAGE? yes
MISSING '.'  I=941361  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
FIX? yes
DIRECTORY CORRUPTED  I=941362  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
SALVAGE? yes
MISSING '.'  I=941362  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
FIX? yes
DIRECTORY CORRUPTED  I=941365  OWNER=nobody MODE=40755
SIZE=1024 MTIME=Jun 11 23:19 2004
DIR=?
SALVAGE? yes
MISSING '.'  I=941365  OWNER=nobody MODE=40755
SIZE=1024 MTIME=Jun 11 23:19 2004
DIR=?
FIX? yes
DIRECTORY CORRUPTED  I=941393  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
SALVAGE? yes
MISSING '.'  I=941393  OWNER=nobody MODE=40755
SIZE=512 MTIME=Jun 11 23:19 2004
DIR=?
CANNOT FIX, FIRST ENTRY IN DIRECTORY CONTAINS
fsck_ffs: inoinfo: inumber -2115204267 out of range
My question.  If fsck cannot repair a drive, does it mean that all 
hope is lost?
Thanks 

Ah forget it.
I bit the bullet, and newfs'ed the ccd, and now it mounts without any 
complaints.
So all that data went to /dev/null
Note to self (and hopefully to others):  Back up your ccd arrays before 
reinstalling the OS...
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD 5.x CCD

2004-11-17 Thread Gerard Samuel
This is to anyone who is successfully running a CCD raid under
5.x.
I want to compare your ccd* device nodes under /dev to what I have.
This is what I have.
hivemind# ls -al /dev/ccd*
crw-r-  1 root  operator4,  38 Nov 17 10:53 /dev/ccd0
I want to see if Im missing the ccd0c node.
Thanks for your time.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.x CCD

2004-11-17 Thread Kris Kennaway
On Wed, Nov 17, 2004 at 12:22:57PM -0500, Gerard Samuel wrote:
 This is to anyone who is successfully running a CCD raid under
 5.x.
 I want to compare your ccd* device nodes under /dev to what I have.
 This is what I have.
 hivemind# ls -al /dev/ccd*
 crw-r-  1 root  operator4,  38 Nov 17 10:53 /dev/ccd0
 
 I want to see if Im missing the ccd0c node.
 Thanks for your time.

I have 

$ ls -l /dev/ccd*
crw-r-  1 root  operator4,  28 Oct 28 19:14 /dev/ccd0
crw-r-  1 root  operator4,  29 Oct 28 19:14 /dev/ccd1

which I use for swap and a single fs partition, respectively.

Kris



pgpDNpWsEfl4u.pgp
Description: PGP signature


Re: FreeBSD 5.x CCD

2004-11-17 Thread Gerard Samuel
Kris Kennaway wrote:
On Wed, Nov 17, 2004 at 12:22:57PM -0500, Gerard Samuel wrote:
 

This is to anyone who is successfully running a CCD raid under
5.x.
I want to compare your ccd* device nodes under /dev to what I have.
This is what I have.
hivemind# ls -al /dev/ccd*
crw-r-  1 root  operator4,  38 Nov 17 10:53 /dev/ccd0
I want to see if Im missing the ccd0c node.
Thanks for your time.
   

I have 

$ ls -l /dev/ccd*
crw-r-  1 root  operator4,  28 Oct 28 19:14 /dev/ccd0
crw-r-  1 root  operator4,  29 Oct 28 19:14 /dev/ccd1
which I use for swap and a single fs partition, respectively.
Well you just burst my bubble.
I was hoping I was missing a node.  Im trying to figure out a problem Im
having -
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064973.html
Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 5.x CCD

2004-11-17 Thread Kris Kennaway
On Wed, Nov 17, 2004 at 09:22:51PM -0500, Gerard Samuel wrote:

 Well you just burst my bubble.
 I was hoping I was missing a node.  Im trying to figure out a problem Im
 having -
 http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064973.html
 Thanks

Just mount /dev/ccd0 instead of /dev/ccd0c since the latter refers to
the entire disk anyway.


pgpof96AqCe4R.pgp
Description: PGP signature


Re: FreeBSD 5.x CCD

2004-11-17 Thread Gerard Samuel
Kris Kennaway wrote:
On Wed, Nov 17, 2004 at 09:22:51PM -0500, Gerard Samuel wrote:
 

Well you just burst my bubble.
I was hoping I was missing a node.  Im trying to figure out a problem Im
having -
http://lists.freebsd.org/pipermail/freebsd-questions/2004-November/064973.html
Thanks
   

Just mount /dev/ccd0 instead of /dev/ccd0c since the latter refers to
the entire disk anyway.
Here is what I did...
1.  Unconfigured ccd
hivemind# ccdconfig -U -f /etc/ccd.conf
2.  Reconfigured it
hivemind# ccdconfig -C -f /etc/ccd.conf
3.  Tried mount the drive the way you recommended, and got
hivemind# mount /dev/ccd0 /storage
mount: /dev/ccd0: Operation not permitted
Im going to try googling to see what I can find out.
But if anyone knows why I cannot mount this, then by all means,
let me know.
Thanks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]