DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 26th May 2010
morfran morfran is offline
New User
 
Join Date: May 2010
Posts: 1
Thanked 0 Times in 0 Posts
Exclamation Rescuing broken RAID5 gvinum volume

I'm hoping that someone can help with this problem. I have a RAID5 gvinum volume that was working and then encountered a few problems which I responded to by running fsck. Unfortunately, that was just the beginning of my troubles.

The system is currently running FreeBSD 7.3 release, but was running FreeBSD 8.0 release (that may in fact be part of my problems).

Here's the details (everything looks fine and I've rebuilt the parity on the drives):

Code:
gvinum -> l
3 drives:
D d2                    State: up	/dev/ad6s1a	A: 0/152626 MB (0%)
D d1                    State: up	/dev/ad4s1a	A: 0/152626 MB (0%)
D d0                    State: up	/dev/ad2s1a	A: 0/152626 MB (0%)

1 volume:
V music                 State: up	Plexes:       1	Size:        298 GB

1 plex:
P music.p0           R5 State: up	Subdisks:     3	Size:        298 GB

3 subdisks:
S music.p0.s0           State: up	D: d0           Size:        149 GB
S music.p0.s1           State: up	D: d1           Size:        149 GB
S music.p0.s2           State: up	D: d2           Size:        149 GB
However, if I try to mount it:

Code:
# mount /dev/gvinum/music /music
mount: /dev/gvinum/music : Invalid argument
There's definitely something there:

Code:
# ls -ltr /dev/gvinum/music 
crw-r-----  1 root  operator    0,  88 May 24 11:45 /dev/gvinum/music
But this doesn't work well:

Code:
# fsck -n -t ufs /dev/gvinum/music
** /dev/gvinum/music (NO WRITE)
Cannot find file system superblock
ioctl (GCINFO): Inappropriate ioctl for device
fsck_ufs: /dev/gvinum/music: can't read disk label
And this looks bad:

Code:
# file - < /dev/gvinum/music
/dev/stdin: data
Does anyone have any advice? Is it possible to create a new volume and attach the existing plex to that without losing data? Or a create a new plex and add the existing subdisks, and then add the new plex to a new volume?

I'd appreciate any help.

Cheers,

Matt.

Last edited by vermaden; 26th May 2010 at 07:52 AM. Reason: Use [ code ] tags.
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID Boot volume on OpenBSD 4.6 using softraid csc OpenBSD General 2 26th February 2010 03:51 PM
FreeBSD 7.2 and gvinum issues DNAeon FreeBSD General 2 30th September 2009 11:03 PM
MS DOS volume labels? bigearsbilly FreeBSD General 2 1st April 2009 10:50 PM
Encrypting gvinum raid5 oxy FreeBSD General 1 13th December 2008 05:59 PM
mplayer volume cannot increase. bsdnewbie999 OpenBSD General 3 19th June 2008 03:16 PM


All times are GMT. The time now is 01:14 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick