On Wed, 2003-08-13 at 04:37, Federico Sevilla III wrote: > (Note to JondZ: please do -NOT- send a completely unrelated message by > replying to an existing message, instead, compose a new message and send > this to the list post address. The way you do things breaks threaded > MUAs.)
sorry..wasnt aware about the threading. > > (background as to why i needed to convert: the partition is being used > > as a backup mirror containing massive amounts of hard links and > > ext3/ext2 just keeps getting corrupted and i always ended up with a > > damaged filesystem every now and then--becomes unusuable after about a > > month. so now i try reiserfs). > > What are the massive amounts of hard links for? Why does ext2/ext3 keep > getting corrupted? Have you reported this to the LKML and/or ext3-users > mailing lists? homemade shell script combining rsync, ssh & cp -al, the application is intended for incremental backup over long distances (over the internet), and keeps historical data (i.e., entire history of a partition for the past 30 days),but unchanged files preserved as hard links, with changed files "broken off" as regular files and starting its own hard-link chain. regular transfer of files (after initial loading) is changed data only (a few MB's a day). This technique is covered in one of the links off the rsync homepage, to which i made special mods of my own. I cant recall exactly right now though. in theory it should work but like I said, i keep on getting disk damage. No never reported anything to anybody. my only peers in this hobby is PLUG (philippines) and PLUG (philadelphia). Youre the only guys i bother to talk to. so i just try another fs type (anything that will work right now-- reiserfs comes in handy as its supported with RH distro, which I use). Here's a sample. This is just a 2-day mirror (i'm working my way up, up to around until approx 75% of the hard disk is consumed, or whichever limit i encounter) There's probably a fundamental reason why its breaking, in which case i am going with the wrong approach and will have to try something else. I'm backing up a collocated server, which is located miles away and we cannot get to that easilly (some private info XX'ed out): [EMAIL PROTECTED] var]# pwd /misc//XXXXXX.com/var [EMAIL PROTECTED] var]# ls 001 002 exclude [EMAIL PROTECTED] var]# ls -lR | more .: total 1 drwxr-xr-x 3 root root 72 Aug 12 19:21 001 drwxr-xr-x 3 root root 72 Aug 12 17:27 002 -rw-r--r-- 1 root root 0 Aug 12 19:15 exclude ./001: total 1 drwxr-xr-x 32 root root 800 Jan 21 2003 var ./001/var: total 21 drwxr-xr-x 2 root root 72 Dec 16 2002 account drwxr-xr-x 2 pcap pcap 408 Apr 25 14:31 arpwatch drwxr-xr-x 7 root root 176 Dec 16 2002 cache drwxr-xr-x 5 34 34 120 Dec 16 2002 crash drwxr-xr-x 2 root root 72 Dec 16 2002 db drwxr-xr-x 6 root root 144 Dec 16 2002 ftp drwxr-x--- 2 42 42 48 Apr 15 2002 gdm drwxr-xr-x 48 root root 1176 Aug 1 01:33 home drwx------ 2 root root 48 Feb 22 2002 iptraf drwxr-xr-x 3 root root 72 Mar 21 19:42 kerberos : : : and so on : : check out the hard link counts. This is only for 2 backups (yesterday and today). You can imagine how large it becomes when i roll it to 10 days or more. comments welcome. jondz -- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
