G'day Stewart and all...

mkfs does a high level format. You loose all data on the partition.

If you're mucking about with partition format types - expect to loose data.

Warmest regards

Mike
---
Michael S. E. Kraus
Network Administrator
Capital Holdings Group (NSW) Pty Ltd
p: (02) 9955 8000



Stewart <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]

28/05/2003 11:06 PM

       
        To:        [EMAIL PROTECTED]
        cc:        
        Subject:        [SLUG] don't try this at /home



sometimes my impatience gets the better of me. I wanted to convert the
/home partition to ext3, so i unmounted it and ran mkfs.ext3. fine.
tried to mount it again only to discover i didn't have ext3 support in
the kernel. oops. well i have other more pressing priorities at the
moment so i did a bit of googling and found
http://www.troubleshooters.com/linux/ext2toext3.htm which has a brief
par. about how to convert back.

umount /dev/hda10
tune2fs -O ^has_journal /dev/hda10
e2fsck /dev/hda10
in /etc/fstab change /dev/hda10 to type ext2 (skipped coz i didn't get
to change it to ext3 in the 1st place)
mount /dev/hda10

so I did that. remounted /home .... only to discover it empty. nothing
but a lost+found. all gone. lucky it's only a development machine at
the moment - no users and there wasn't anything important in my ~.

so. i guess the lesson here is, think first, mkfs later. also don't
entirely trust google or the credible looking help pages it finds for
you. :-/

feel free to suggest what might have gone wrong. i'd like to know for
next time. :)

cheers,
..S.

(oh btw this is the famous debian ppc so i was actually working with a
/dev/sda but that wouldn't make any difference, would it?)

--
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to