hail,
I have a problem with gstripe on today stable. I created this stripe using a bit
more old stable (two weeks tops) and it can't be read on old stable (from
30/12/2008). So I recreated in 8-BETA1 and I could mount and see files. When I
tried again on 30/12/2008 stable and todays, on PII machine (i386):
[root@xxx ~]# gstripe status
Name Status Components
stripe/stripe0 UP ad4s2
ad6s2
[root@xxx ~]# gstripe list
Geom name: stripe0
State: UP
Status: Total=2, Online=2
Type: MANUAL
Stripesize: 4096
ID: 2302026851
Providers:
1. Name: stripe/stripe0
Mediasize: 1242615693312 (1.1T)
Sectorsize: 512
Mode: r0w0e0
Consumers:
1. Name: ad4s2
Mediasize: 621307846656 (579G)
Sectorsize: 512
Mode: r0w0e0
Number: 0
2. Name: ad6s2
Mediasize: 621307846656 (579G)
Sectorsize: 512
Mode: r0w0e0
Number: 1
[root@xxx ~]# ls /dev/stripe/
stripe0 stripe0c
[root@xxx ~]# mount /dev/stripe/stripe0 /null
mount: /dev/stripe/stripe0 : Invalid argument
on 8-BETA1 it works, but can't create stripe on it and use on this stable
box though. the stripe already has files ! so anything weird could make me loose
my data ...
the 8-BETA1 is amd64 and core 2 quad cpu.
any hints ?
thanks,
matheus
--
We will call you cygnus,
The God of balance you shall be
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
http://en.wikipedia.org/wiki/Posting_style
Nenhum_de_Nos wrote:> hail, > > I have a problem with gstripe on today stable. I created this stripe using a bit more old stable (two weeks tops) and it can't be read on old stable (from 30/12/2008). So I recreated in 8-BETA1 and I could mount and see files. When I tried again on 30/12/2008 stable and todays, on PII machine (i386):So your problem is that: a) you created a gstripe array on a recent STABLE (two weeks ago) and it was fine b) you tried to use it with an old STABLE (30.12.2008.) and it didn't work c) you tried to use it with today's STABLE and it didn't work d) it works with 8-BETA1 ? The only thing that comes to my mind is that during your tests you have changed the stripe size, making the file system data unusable (and unmountable).> [root@xxx ~]# gstripe status > Name Status Components > stripe/stripe0 UP ad4s2 > ad6s2> mount: /dev/stripe/stripe0 : Invalid argument > > on 8-BETA1 it works, but can't create stripe on it and use on this stable box though. the stripe already has files ! so anything weird could make me loose my data ...Are you saying you won't use 8-BETA1 because you fear there may be problems with it? If so, you shouldn't worry so much - 8-CURRENT is very stable.
On Fri, Jul 17, 2009 at 01:08:13AM -0300, Nenhum_de_Nos wrote:> hail, > > I have a problem with gstripe on today stable. I created this stripe using a bit more old stable (two weeks tops) and it can't be read on old stable (from 30/12/2008). So I recreated in 8-BETA1 and I could mount and see files. When I tried again on 30/12/2008 stable and todays, on PII machine (i386): > > [root@xxx ~]# gstripe status > Name Status Components > stripe/stripe0 UP ad4s2 > ad6s2 > [root@xxx ~]# gstripe list > Geom name: stripe0 > State: UP > Status: Total=2, Online=2 > Type: MANUAL > Stripesize: 4096 > ID: 2302026851 > Providers: > 1. Name: stripe/stripe0 > Mediasize: 1242615693312 (1.1T) > Sectorsize: 512 > Mode: r0w0e0 > Consumers: > 1. Name: ad4s2 > Mediasize: 621307846656 (579G) > Sectorsize: 512 > Mode: r0w0e0 > Number: 0 > 2. Name: ad6s2 > Mediasize: 621307846656 (579G) > Sectorsize: 512 > Mode: r0w0e0 > Number: 1 > [root@xxx ~]# ls /dev/stripe/ > stripe0 stripe0c > [root@xxx ~]# mount /dev/stripe/stripe0 /null > mount: /dev/stripe/stripe0 : Invalid argument > > on 8-BETA1 it works, but can't create stripe on it and use on this stable box though. the stripe already has files ! so anything weird could make me loose my data ... > > the 8-BETA1 is amd64 and core 2 quad cpu. > > any hints ?'gstripe create' command doesn't store any metadata, it creates temporary device (see Type: MANUAL). If you want your stripe to show up after reboot, the command you're looking for is 'gstripe label'. -- Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20090730/0630880f/attachment.pgp