Date: Sun, 11 Apr 2004 19:18:16 +0200 From: Joan Picanyol i Puig <lists-gmane@biaix.org> To: freebsd-questions@freebsd.org Subject: Re: Can't *write* to a hard disk, not even a slice using fdisk(8). Message-ID: <pan.2004.04.11.17.18.13.849212@biaix.org> References: <50127.192.168.0.105.1081599736.squirrel@webmail.thilelli.net> <pan.2004.04.10.23.19.19.801140@biaix.org> <50911.192.168.0.105.1081633514.squirrel@webmail.thilelli.net> <pan.2004.04.11.03.44.29.72628@biaix.org> <49289.192.168.0.105.1081668682.squirrel@webmail.thilelli.net> <pan.2004.04.11.13.02.53.255127@biaix.org> <50715.192.168.0.105.1081685718.squirrel@webmail.thilelli.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 11 Apr 2004 15:15:18 +0200, Julien Gabel wrote: >>>> GEOM doesn't let you write to an active device, except if you set >>>> kern.geom.debugflags=16 > >>> Ok no problem, I changed it this way: >>> # sysctl kern.geom.debugflags=16 >>> kern.geom.debugflags: 1 -> 16 >>> But it seems to change *absolutly nothing*... :( > >> Mmmhh... We're doing something wrong here I guess :o Are you 100% sure >> that ad10 is not used by any open geom modules? What does dmesg say >> about ar*? > # dmesg | tail -50 > [...] > GEOM: create disk ad4 dp=0xc6cb6360 > ad4: 78167MB <Maxtor 6Y080P0> [158816/16/63] at ata2-master UDMA133 > GEOM: create disk ad6 dp=0xc6ab2960 > ad6: 78167MB <Maxtor 6Y080P0> [158816/16/63] at ata3-master UDMA133 > GEOM: create disk ad8 dp=0xc6ab2560 > ad8: 117246MB <Maxtor 6Y120P0> [238216/16/63] at ata4-master UDMA133 > GEOM: create disk ad10 dp=0xc6ab2660 > ad10: 117246MB <Maxtor 6Y120P0> [238216/16/63] at ata5-master UDMA133 > GEOM: create disk ar0 dp=0xc6aae5e0 > ar0: 78167MB <ATA RAID1 array> [9964/255/63] status: READY subdisks: > disk0 READY on ad4 at ata2-master > disk1 READY on ad6 at ata3-master > Mounting root from ufs:/dev/ar0s1a > g_slice_config(ad10, 0, 0) [...] > g_slice_config(ad10, 3, 1) > > This is what we can expected to see: the only 'ar' array which exist now > is the first mirror for system part. There is no second array, since I > made /home only available on /dev/ad8 and not /dev/ar1s1d. I don't see > anything wrong here(?). Am I missing something? Well, I see that geom tastes ad10 and creates a slice class for it... However, if kern.geom.debugflags=16, you should still be able to touch the slice. If debugflags=16 I know of no reason why you shouldn't be able to partition de disk; sorry, I'm stumped :( qvb -- pica
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?pan.2004.04.11.17.18.13.849212>