Discussion:
How to use
A9515001
2008-10-28 10:26:36 UTC
Permalink
I already Applying the patch

Configure the kernel to use ext3cow.
Compile and install the kernel.

But how to use snapshot this command.

I still don't know...
Zachary N. J. Peterson
2008-10-28 12:53:24 UTC
Permalink
You can see a usage example here:

Loading Image...

Also Section 3 of this paper explains usage in detail:

http://znjp.com/papers/peterson-tos05.pdf

Hope this helps.

-Zachary

---
Zachary N. J. Peterson
Assistant Research Scientist
The Johns Hopkins University

zachary-***@public.gmane.org
http://znjp.com
Post by A9515001
I already Applying the patch
Configure the kernel to use ext3cow.
Compile and install the kernel.
But how to use snapshot this command.
I still don't know...
_______________________________________________
ext3cow-devel mailing list
http://hssl.cs.jhu.edu/cgi-bin/mailman/listinfo/ext3cow-devel
A9515001
2008-10-29 06:23:36 UTC
Permalink
I already read this paper. Let me explain my situation.

Ubuntu 8.04 already compile the kernel 2.6.20.3 with ext3cow patch

So if I want to use snapshot to back up my file.
Just type "snapshot" in console ? But when I type this command, it shows "command not found".

I just don't know the snapshot command how to use .
Tim Post
2008-10-29 08:33:48 UTC
Permalink
Post by A9515001
I already read this paper. Let me explain my situation.
Ubuntu 8.04 already compile the kernel 2.6.20.3 with ext3cow patch
So if I want to use snapshot to back up my file.
Just type "snapshot" in console ? But when I type this command, it shows "command not found".
I just don't know the snapshot command how to use .
If you have compiled and installed the tools, the command would be 'ss'

Cheers,
--Tim
A9515001
2008-10-29 10:19:07 UTC
Permalink
So I compiled this tool, that's just a simple implement?

I rename this program 'ss' to 'snapshot' and I use it.

I incur another problem

***@hikaru-desktop:/mnt/vDisk/hikaru$ echo "This is" > foo.txt
***@hikaru-desktop:/mnt/vDisk/hikaru$ snapshot foo.txt
Snapshot on foo.txt: failed.
snapshot: Inappropriate ioctl for device

I use a viutual file system and format it to ext3cow is that right?

dd if=/dev/zero of=disk

mkfs.ext3cow format it.

I just can't run snapshot.....
Tim Post
2008-10-29 11:05:03 UTC
Permalink
Post by A9515001
So I compiled this tool, that's just a simple implement?
I rename this program 'ss' to 'snapshot' and I use it.
I incur another problem
Snapshot on foo.txt: failed.
snapshot: Inappropriate ioctl for device
Is foo.txt on an ext3cow file system?
Post by A9515001
I use a viutual file system and format it to ext3cow is that right?
dd if=/dev/zero of=disk
mkfs.ext3cow format it.
I just can't run snapshot.....
Did you pass -t ext3cow when mounting it?

For instance:

mkdir /mnt/cow
dd if=/dev/zero of=cow.img bs=1G count=10
mkfs.ext3cow cow.img
mount -o loop -t ext3cow ./cow.img /mnt/cow

A good way to tell is to 'ls' your mounted image, if you see a bunch of
question marks '?' , you likely forgot to pass -t ext3cow.

Cheers,
--Tim

Loading...