You are not logged in.

#1 2011-11-06 23:54:17

walterjwhite
Member
Registered: 2011-05-01
Posts: 207

how to create a COW filesystem for ArchISO?

Hi all,

How do I go about creating a COW filesystem for ArchISO on a USB key?

Would I do the following after writing the ISO image to the USB device?

1. create a new partition.
2. create a new logical volume configuring the device as a snapshot type
3. create a filesystem on top of the logical volume
4. update the kernel parameters with the logical volume name


What filesystem should I use for COW?


Walter

Offline

#2 2011-11-07 00:24:29

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: how to create a COW filesystem for ArchISO?

Hello,

The isohybrid is a dirty hack, but is good for quick "download, write and boot" a booteable ISO to an USB-key.

What is your objetive? I guess you want to use "cow_persistent" ?. If this is the case use a filesystem that support sparse files. (ext2/3/4, xfs, ...)

Offline

#3 2011-11-07 00:54:14

walterjwhite
Member
Registered: 2011-05-01
Posts: 207

Re: how to create a COW filesystem for ArchISO?

Hi,

I made my own ArchISO that serves as a backup / restore disc in the event my hard drive goes.  I periodically update the disc image with the latest software and any changes I make to my system.  I may also use it to have access to my 'stuff' whenever I don't have my computer (provided I have the appropriate video drivers installed).

I thought that I shouldn't use a journaling filesystem for COW?  I was thinking JFS.


Walter

Offline

#4 2011-11-07 01:08:25

djgera
Developer
From: Buenos Aires - Argentina
Registered: 2008-12-24
Posts: 723
Website

Re: how to create a COW filesystem for ArchISO?

The better scenario is to use device directly without a filesystem, but this is not supported with archiso. You can do some hacks in the code to support it.

Anyway using any filesystem distinct from FAT with different block size made by the vendor on a USB-key, the performance is really bad.

Offline

Board footer

Powered by FluxBB