Re: Vinum Problem

2005-03-28 Thread Ean Kingston

 On Sun, 2005-03-27 at 16:59, Ean Kingston wrote:
 On March 27, 2005 10:35 am, Robert Slade wrote:
  Hi,
 
  I have managed to setup a vinum volume using 2 striped disks, the
 volume
  is created and I can do newfs on it and mount it.
 
  However, when I set start_vinum=YES in rc.conf, vinum loads then I
 get
  panic, followed by hanging vnode.
 
  I'm using 5.3.
 
  Any pointers please.

 In 5.3, you need to use gvinum instead of vinum. To do this set
 start_vinum=NO in /etc/rc.conf and set geom_vinum_load=YES
 in /boot/loader.conf.

 gvinum will read your vinum configuration just fine so you only need to
 make
 the changes I suggested to get it to work.

 Althought this is documented, it is not what I would call 'well
 documented'
 yet.

 Ean,

 Thank you, that got me further, I appears to have created a new
 /dev/gvinum/test, which seems to the right size, but when I mount it as
 /test, I get not a directory when I try and ls it.

The mount point needs to exist prior to mounting a filesystem so, try
something like this (as root):

mkdir /test
mount /dev/gvinum/test /test
mount | grep test

That last one should produce the following output,

/dev/gvinum/test on /test (ufs, local, soft-updates)

which indicates that you have a mounted filesystem on /test.

 I have tried to find documentation on geom, but that seems to be related
 to mirroring.

Ya, documentation is still being worked on. For basic stuff (like creating
concatinated volumes) you can use the vinum documentation and replace
'vinum' with 'gvinum' when you try things. Using your 'test' filesystem is
a very good idea. Some aspects of vinum still aren't fully implemented in
gvinum.

Remember, if you just created your /test volume. It should be empty. You
did run 'newfs /dev/gvinum/test' after creating it and before mouting it,
right?

-- 
Ean Kingston
E-Mail: ean_AT_hedron_DOT_org
 PGP KeyID: 1024D/CBC5D6BB
   URL: http://www.hedron.org/


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


Re: Vinum Problem

2005-03-27 Thread Ean Kingston
On March 27, 2005 10:35 am, Robert Slade wrote:
 Hi,

 I have managed to setup a vinum volume using 2 striped disks, the volume
 is created and I can do newfs on it and mount it.

 However, when I set start_vinum=YES in rc.conf, vinum loads then I get
 panic, followed by hanging vnode.

 I'm using 5.3.

 Any pointers please.

In 5.3, you need to use gvinum instead of vinum. To do this set 
start_vinum=NO in /etc/rc.conf and set geom_vinum_load=YES 
in /boot/loader.conf.

gvinum will read your vinum configuration just fine so you only need to make 
the changes I suggested to get it to work.

Althought this is documented, it is not what I would call 'well documented' 
yet.

-- 
Ean Kingston

E-Mail: ean AT hedron DOT org
URL: http://www.hedron.org/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Vinum Problem

2005-03-27 Thread Robert Slade
On Sun, 2005-03-27 at 16:59, Ean Kingston wrote:
 On March 27, 2005 10:35 am, Robert Slade wrote:
  Hi,
 
  I have managed to setup a vinum volume using 2 striped disks, the volume
  is created and I can do newfs on it and mount it.
 
  However, when I set start_vinum=YES in rc.conf, vinum loads then I get
  panic, followed by hanging vnode.
 
  I'm using 5.3.
 
  Any pointers please.
 
 In 5.3, you need to use gvinum instead of vinum. To do this set 
 start_vinum=NO in /etc/rc.conf and set geom_vinum_load=YES 
 in /boot/loader.conf.
 
 gvinum will read your vinum configuration just fine so you only need to make 
 the changes I suggested to get it to work.
 
 Althought this is documented, it is not what I would call 'well documented' 
 yet.

Ean,

Thank you, that got me further, I appears to have created a new
/dev/gvinum/test, which seems to the right size, but when I mount it as
/test, I get not a directory when I try and ls it.

I have tried to find documentation on geom, but that seems to be related
to mirroring.

Rob

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


Re: Vinum Problem(?)

2004-06-02 Thread Greg 'groggy' Lehey
On Wednesday,  2 June 2004 at 11:55:37 +0200, Erik Mossberg wrote:
 Hello,

 I have a really weird problem, I don't know if it is software or
 hardware related. When I am in the process of extracting a multivolume
 archive (rar) it goes on for a while, then stops, then continues and
 then all of the sudden the computer reboots.

 The volume which I try to extract files on is a Vinum volume containing
 2 Western Digital 36gb SATA raptor disks (striped) connected via a
 Tekram TR822 SATA-controller. Upon reboot it complains about / not being
 properly unmounted, and fsck says something about SUPERBLK, or
 similar.

fsck is trying to tell you something.  If you don't pay attention, it
doesn't help much.

 Can this just be a h/w problem due to overheating?

No idea.

Do you get a panic, or just a spontaneous reboot?

In any case, please read
http://www.vinumvm.org/vinum/how-to-debug.html before submitting new
information.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
Note: I discard all HTML mail unseen.
Finger [EMAIL PROTECTED] for PGP public key.
See complete headers for address and phone numbers.


pgpHm0zVdKMHx.pgp
Description: PGP signature