LinSysSoft Technologies Home | Contact Us | Careers | Site Map | Blog
Storage & Networking
Embedded Systems
Mobile Applications
Home > Products > CheckFS
Installation
Kernel Version Supported : Linux Kernel 2.6.9
Contents of checkfs directory

kernel/ README utils/

1. Copy the fs/ and include/ folder from checkfs-0.0X/kernel/ directory to Linux kernel source directory (For e.g /usr/src/kernels/linux-2.6.15) and compile kernel with checkfs filesystem support on. (Module support recommended)

$ cp fs/ include/ -r {kernel-source}

2. Compile the utilities in utils/ directory

3. There are two modules

ckpt.ko
checkfs.ko
insmod them in above sequence.

4. Make sure that the target device of which checkpoints will be created and backups will be taken must have ext3 filesystem.

Quick Start:

1. mkckpt is utility for creating checkpoint

1.1

$./mkckpt -e /dev/hda6 /dev/hda9
Here -e indicates that you are using block device to store the checkpoint. /dev/hda6 is block device where the checkpoint of /dev/hda9 will be stored.

1.2

$./mkckpt /dev/hda9
Here /dev/hda9 is device of which checkpoint will be stored in internal inode of itself.

2. Backup is utility for taking backup according to checkpoint taken above.

2.1

$./backup /dev/hda9 /dev/hda6 Here backup of /dev/hda9 will be stored on /dev/hda6.

2.2

$./backup /dev/hda9 - |gzip -c > hda9.bkup.gz
Backup of /dev/hda9 will be stored in hda9.bkup.gz file in compressed format with the help of gzip utility.

3. Restore utility restores the backup taken on particular path

3.1

$./restore /dev/hda6 /mnt/store
Here /dev/hda6 is block device on which we have stored the backup previously and with restore it will be restored at /mnt/store.

3.2

$gzip -c hda9.bkup.gz | ./restore - /mnt/store
Here gzip will decompress Hda9.bkup.gz (compressed backup) and feed it to restore via pipe to restore the backup at /mnt/store.

4. rmckpt utility usage which removes checkpoint created in first step.

$ ./rmckpt /dev/hda9
Here checkpoint of /dev/hda9 will be removed.

Related Links:
 
White Papers
Testimonials
 
Home | About Us | Privacy | Legal | Contact Us | Copyright 2004-2014. LinSysSoft Technologies Pvt. Ltd. All rights reserved.