Date: Sun, 25 Mar 2007 13:40:27 -0400 From: Nicolas Blais <nb_root@videotron.ca> To: freebsd-current@freebsd.org Subject: gjournal questions Message-ID: <200703251340.36525.nb_root@videotron.ca>
next in thread | raw e-mail | index | archive | help
--nextPart5622395.63fBd87lZd Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I've been experimenting with gjournal with the hopes of using it in my new= =20 server (SuperMicro 5015M-NTB) . I have several questions, hopefully someone= =20 can help me out. 1. I simulated a crash (hard power-off while transfering files). When I=20 rebooted, I got the following on my console: ad0: 78167MB <Maxtor 6Y080L0 YAR41BW0> at ata0-master UDMA133 acd0: DVDR <HL-DT-ST DVDRAM GSA-4163B/A105> at ata1-master UDMA33 ad4: 76319MB <Seagate ST3808110AS 3.AAE> at ata2-master SATA150 ad6: 76319MB <Seagate ST3808110AS 3.AAE> at ata3-master SATA150 ad10: 76319MB <Seagate ST380817AS 3.42> at ata5-master SATA150 GEOM_JOURNAL: Journal 2822006383: ad10s1 contains data. GEOM_JOURNAL: Journal 2822006383: ad10s1 contains journal. GEOM_JOURNAL: Journal ad10s1 clean. acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=3D0x24 ascq=3D0x00 sks=3D0x40 0= x00 0x01 ar0: 76293MB <Promise Fasttrak RAID1> status: READY ar0: disk0 READY (master) using ad4 at ata2-master ar0: disk1 READY (mirror) using ad6 at ata3-master <snip> WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted WARNING: R/W mount of /mnt/journaled denied. Filesystem is not clean - run= =20 fsck Only /mnt/journaled (ad10s1.journal) is gjournaled. Why doesn't fsck, which= is=20 running in background mode by now, check my /mnt/journaled and tag it clean= ?=20 I have to manually fsck /dev/ad10s1.journal and manually remount it. This i= s=20 a no-go because I want my system to be able to run without the helps of us,= =20 bipeds even in the event of a crash :). /usr and /var where fsck'ed in=20 background as expected. Therefore, is it possible to make a crash recovery with gjournal without th= e=20 need of humains? Short story: I'm leaving for Afghanistan in August and tha= t=20 specific server will not have anyone doing maintenance other than 2. Since my new server will require a fresh installation, can I set up my=20 gjournal slices from within sysinstall by choosing "Custom NewFS" and putti= ng=20 the -J option in there? Will that load the gjournal module? What is the=20 correct way to implement gjournal from a fresh start? 3. From gjournal(8) man page: "It is not recommended to use gjournal for sm= all=20 file systems (e.g.: only few gigabytes big)." How much is a "few"? Is it <= =20 10gb? <50gb? I intend to use gjournal on /var (10gb), /usr (100gb), /home=20 (1tb) and some misc mounts. (~25-100gb). 4. I'm thinking of using gmirror instead of my MB's onboard raid. I found f= rom=20 previous posts that I can mount async, disable soft-updates and that for=20 simplicity it would be better to mirror the whole drive instead of slices=20 (which is what I want to know). Anything else I could use/know about using= =20 gmirror and gjournal?=20 Thank you VERY MUCH for your help. Nicolas. =2D-=20 =46reeBSD 7.0-CURRENT #17: Sun Mar 25 10:07:13 EDT 2007 =20 root@clk01a:/usr/obj/usr/src/sys/CLK01A=20 PGP? : http://plaintext.clkroot.net/security/nb_root.asc --nextPart5622395.63fBd87lZd Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQBGBrQM4wTBlvcsbJURAqyxAJ9hPboYSeGI1tHxwAMok/3mkJzrtACdHAbu EUU83l8y1m0G3X2tQot0aDU= =mO7Y -----END PGP SIGNATURE----- --nextPart5622395.63fBd87lZd--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703251340.36525.nb_root>