Re: mystery with mke2fs -j
everyone wrote about ext3 [snip] It's time for an SxS folks, these questions are becoming very Faq, a simple write up will answer 90% of them. Contribs please. _ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
On Thu, 13 Dec 2001 22:26:32 -0800 (PST) Net Llama [EMAIL PROTECTED] wrote: --- Collins Richey [EMAIL PROTECTED] wrote: Prior to making major updates to my system, I always clone my running system to a spare partition and verify that it boots and runs. Most of the time this goes without a hitch, but occasionally I have difficulty reformatting the spare partitions. I wonder if anyone knows why. Here''s the setup (my disk controllers are reversed hdab are cdrom, hdcd are disk /dev/hdd9 current boot partition (ext3) /dev/hdd10 current / partition (ext3) ca. 4.4gig /dev/hdd7 spare boot partition /dev/hdd8 spare /partition ca. 4.3 gig other bootable partitions on /dev/hdc I start out by formatting the spares mke2fs -j /dev/hdd8 no problem mke2fs -j /dev/hdd7 fails writing superblock (something about a short write) much screwing around including badblock tests on hdd7 (aok) all attempts fail reboot and the problem disappears - hdd7 formats ok clone completed and hdd7/8 made bootable (fstab altered, lilo updated) new clone boots and runs ok Any clue why sometimes I can't remake a fs over the top of an existing one? Most often, you need to perform a reboot when making changes to partition tables. I believe that fdisk even warns you of this. Yes, I know, but here no fdisk or change to partition tables, just creting an empty fs - one works, one doesn't. -- Collins Richey Denver Area - 12DEC2001 - WWTLRD? gentoo_rc6 k2.4.17-pre8+ext3+xfce+sylpheed+galeon ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
--- Collins Richey [EMAIL PROTECTED] wrote: On Thu, 13 Dec 2001 22:26:32 -0800 (PST) Net Llama [EMAIL PROTECTED] wrote: --- Collins Richey [EMAIL PROTECTED] wrote: Prior to making major updates to my system, I always clone my running system to a spare partition and verify that it boots and runs. Most of the time this goes without a hitch, but occasionally I have difficulty reformatting the spare partitions. I wonder if anyone knows why. Here''s the setup (my disk controllers are reversed hdab are cdrom, hdcd are disk /dev/hdd9 current boot partition (ext3) /dev/hdd10 current / partition (ext3) ca. 4.4gig /dev/hdd7 spare boot partition /dev/hdd8 spare /partition ca. 4.3 gig other bootable partitions on /dev/hdc I start out by formatting the spares mke2fs -j /dev/hdd8 no problem mke2fs -j /dev/hdd7 fails writing superblock (something about a short write) much screwing around including badblock tests on hdd7 (aok) all attempts fail reboot and the problem disappears - hdd7 formats ok clone completed and hdd7/8 made bootable (fstab altered, lilo updated) new clone boots and runs ok Any clue why sometimes I can't remake a fs over the top of an existing one? Most often, you need to perform a reboot when making changes to partition tables. I believe that fdisk even warns you of this. Yes, I know, but here no fdisk or change to partition tables, just creting an empty fs - one works, one doesn't. Hrmmm...what's the '-j' switch? I can't find any reference to it in the man page. = Lonni J. Friedman [EMAIL PROTECTED] Linux Step-by-step help: http://netllama.ipfox.com . __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
Net Llama wrote: % --- Collins Richey [EMAIL PROTECTED] wrote: [mondo snippage] % Yes, I know, but here no fdisk or change to partition tables, just % creting an empty fs - one works, one doesn't. % % Hrmmm...what's the '-j' switch? I can't find any reference to it in the % man page. -j creates a EXT3 journal file on the FS, thus creating an EXT3 FS. Kurt -- The light at the end of the tunnel is the headlight of an approaching train. ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
from Net Llama: --- [EMAIL PROTECTED] wrote: Hrmmm...what's the '-j' switch? I can't find any reference to it in the % man page. man tune2fs? -j creates a EXT3 journal file on the FS, thus creating an EXT3 FS. Ahhh..that would explain why i couldn't find it. No ext3 here, just XFS. I believe it's been added recently. On at least one system, I had to get a newer version of tune2fs. On the older man page, -j wasn't listed (I presume it wasn't supported, either). R -- He that would make his own liberty secure, must guard even his enemy from oppression; for if he violates this duty, he establishes a precedent that will reach to himself. - Thomas Paine ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
On Saturday 15 December 2001 04:08, [EMAIL PROTECTED] enunciated: Net Llama wrote: % --- Collins Richey [EMAIL PROTECTED] wrote: [mondo snippage] % Yes, I know, but here no fdisk or change to partition tables, just % creting an empty fs - one works, one doesn't. % % Hrmmm...what's the '-j' switch? I can't find any reference to it in the % man page. -j creates a EXT3 journal file on the FS, thus creating an EXT3 FS. Kurt Do you not have to call this with tune2fs -j /dev/hdxx ? -- Keith Antoine aka 'skippy' 18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161 Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
On Saturday 15 December 2001 06:33, Net Llama enunciated: There was alao another problem with -j switch as I remember, the efsprogs had to be updated to at least 1.25 or something, see it inder Documenattion in /usr/src/linux. Also 2.4.16 was the first kernel to fully support ext3. -- Keith Antoine aka 'skippy' 18 Arkana St, The Gap, Queensland 4061 Australia PH:61733002161 Retired Geriatric, Sometime Electronics Engineer, Knowall, Brain in storage ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
On Sat, 15 Dec 2001 08:01:51 +1000 Keith Antoine [EMAIL PROTECTED] wrote: On Saturday 15 December 2001 03:27, Net Llama enunciated: Yes, I know, but here no fdisk or change to partition tables, just creting an empty fs - one works, one doesn't. Hrmmm...what's the '-j' switch? I can't find any reference to it in the man page. Have no idea if this has any bearing, seeing it works on one and not the other. The -j switch is used by tune2fs to install a journel to the ext2 fs and enable it as ext3. I am unsure as i cannot find the switch as applied to ext2. and the answer is: root:~# mke2fs -? mke2fs 1.25 (20-Sep-2001) mke2fs: invalid option -- ? Usage: mke2fs [-c|-t|-l filename] [-b block-size] [-f fragment-size] [-i bytes-per-inode] [-j] [-J journal-options] [-N number-of-inodes] [-m reserved-blocks-percentage] [-o creator-os] [-g blocks-per-group] [-L volume-label] [-M last-mounted-directory] [-O feature[,...]] [-r fs-revision] [-R raid_opts] [-qvSV] device [blocks-count] the -j option for mke2fs debutted in 1.20. Caldera has 1.19. Ciao, David A. Bandel -- Focus on the dream, not the competition. -- Nemesis Racing Team motto ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
from Net Llama: The command he was running was mke2fs not tune2fs. -k, sorry, -j_ust trying to help.:) R -- Adolescence, n.: The stage between puberty and adultery. ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
On Sat, 15 Dec 2001 08:03:05 +1000 Keith Antoine [EMAIL PROTECTED] wrote: On Saturday 15 December 2001 04:08, [EMAIL PROTECTED] enunciated: Net Llama wrote: % --- Collins Richey [EMAIL PROTECTED] wrote: [mondo snippage] % Yes, I know, but here no fdisk or change to partition tables, just % creting an empty fs - one works, one doesn't. % % Hrmmm...what's the '-j' switch? I can't find any reference to it in the % man page. -j creates a EXT3 journal file on the FS, thus creating an EXT3 FS. Kurt Do you not have to call this with tune2fs -j /dev/hdxx ? Nope. mke2fs -j /dev/xxx works aok. I do use tune2fs -c 0 -i 0 /dev/xxx as soon as it has been made so that I won't ever hear from fsck. I'm still clueless about why sometimes I need to reboot and sometimes not. -- Collins Richey Denver Area - 12DEC2001 - WWTLRD? gentoo_rc6 k2.4.17-pre8+ext3+xfce+sylpheed+galeon ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
mystery with mke2fs -j
Prior to making major updates to my system, I always clone my running system to a spare partition and verify that it boots and runs. Most of the time this goes without a hitch, but occasionally I have difficulty reformatting the spare partitions. I wonder if anyone knows why. Here''s the setup (my disk controllers are reversed hdab are cdrom, hdcd are disk /dev/hdd9 current boot partition (ext3) /dev/hdd10 current / partition (ext3) ca. 4.4gig /dev/hdd7 spare boot partition /dev/hdd8 spare /partition ca. 4.3 gig other bootable partitions on /dev/hdc I start out by formatting the spares mke2fs -j /dev/hdd8 no problem mke2fs -j /dev/hdd7 fails writing superblock (something about a short write) much screwing around including badblock tests on hdd7 (aok) all attempts fail reboot and the problem disappears - hdd7 formats ok clone completed and hdd7/8 made bootable (fstab altered, lilo updated) new clone boots and runs ok Any clue why sometimes I can't remake a fs over the top of an existing one? TIA, -- Collins Richey Denver Area - 12DEC2001 - WWTLRD? gentoo_rc6 k2.4.17-pre8+ext3+xfce+sylpheed+galeon ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users
Re: mystery with mke2fs -j
Most often, you need to perform a reboot when making changes to partition tables. I believe that fdisk even warns you of this. --- Collins Richey [EMAIL PROTECTED] wrote: Prior to making major updates to my system, I always clone my running system to a spare partition and verify that it boots and runs. Most of the time this goes without a hitch, but occasionally I have difficulty reformatting the spare partitions. I wonder if anyone knows why. Here''s the setup (my disk controllers are reversed hdab are cdrom, hdcd are disk /dev/hdd9 current boot partition (ext3) /dev/hdd10 current / partition (ext3) ca. 4.4gig /dev/hdd7 spare boot partition /dev/hdd8 spare /partition ca. 4.3 gig other bootable partitions on /dev/hdc I start out by formatting the spares mke2fs -j /dev/hdd8 no problem mke2fs -j /dev/hdd7 fails writing superblock (something about a short write) much screwing around including badblock tests on hdd7 (aok) all attempts fail reboot and the problem disappears - hdd7 formats ok clone completed and hdd7/8 made bootable (fstab altered, lilo updated) new clone boots and runs ok Any clue why sometimes I can't remake a fs over the top of an existing one? = Lonni J. Friedman [EMAIL PROTECTED] Linux Step-by-step help: http://netllama.ipfox.com . __ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com ___ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users