Re: FAQ - Disk Imaging
I have worked with clonezilla cloning OpenBSD filesystems using its UFS support, but there are some problems concerning disklabel creation, what I did, if I remember correctly was creating a dd image from the first MB (or so of the disk) which when dumped will create the partition table and disklabel on the disk, then, with the label created you need to restore partitions on an specific order, though, first sda1, then sda2, sda3, sda4, sda5, sda6 (if you have more than 10 labels) I don't remember why... (but I remember that it has a bug where it would try to restore sda10, sda11, sda1, sda2, sda3, sda4...) I hope this is "useful"... On Tue, Apr 16, 2013 at 4:21 AM, Kevin Chadwick wrote: >> I'll try it and let you know. > > Well I did a very quick test into memory at first (whilst doing > something else at the same time) and it seemed to talk about ufs > filesystem usage and I was very surprised. I then tried some more > comprehensive tests and only found dd usage. > > I'll retry what I did initially and report if it is FFS-aware. > if you hear no more then take it that it only uses dd. > > -- > ___ > > 'Write programs that do one thing and do it well. Write programs to work > together. Write programs to handle text streams, because that is a > universal interface' > > (Doug McIlroy) > ___
Re: FAQ - Disk Imaging
> I'll try it and let you know. Well I did a very quick test into memory at first (whilst doing something else at the same time) and it seemed to talk about ufs filesystem usage and I was very surprised. I then tried some more comprehensive tests and only found dd usage. I'll retry what I did initially and report if it is FFS-aware. if you hear no more then take it that it only uses dd. -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) ___
Re: FAQ - Disk Imaging
On Sun, Apr 14, 2013 at 12:27:57AM +0100, Kevin Chadwick wrote: > 4.15 of the faq says > > Unfortunately, there are no known disk imaging packages which are > FFS-aware. > > I haven't tested whether a broad brush had been applied expecting > ufs and ffs to be the same or if clonezillas statement is correct but > thought it may be worth bringing up that clonezilla.org says I've done this on the past to clone OpenBSD systems (ffs) without issues. Basically I booted clonezilla, saved the image of the disk to an external drive and then booted the other machine with a clean disk and restored it again. I think it is able to resize an image from a smaller disk to a bigger one but I'm not sure if I tried that. cheers, --rodolfo
Re: FAQ - Disk Imaging
On 2013-04-14, Nick Holland wrote: > On 04/13/13 19:27, Kevin Chadwick wrote: >> 4.15 of the faq says >> >> Unfortunately, there are no known disk imaging packages which are >> FFS-aware. >> >> I haven't tested > ... > > Get back with me when you have. > > I'll be happy to find out that statement is now wrong, but I've been > doing this about 20 years too long to believe everything that's put out > on a website. Note that OpenBSD, FreeBSD and NetBSD are not directly > file system compatible anyway, as I recall...and also note that OpenBSD > has two things you need to check -- ffs and ffs2, so yes, I'm quite > skeptical that we have a "just works" with OpenBSD solution here. > Hopefully I'm wrong. > > If it's true, this would be way-cool, but I'm not selling my air > conditioners yet. > > Prove me wrong, I'll thank you. > > Nick. > > Not disk imaging software but this triggered a connection in my brain and thought I'd mention it - the R-Studio recovery software used in the *extremely* useful "raid recovery by sight and sound" video can handle OpenBSD filesystems. (software doesn't itself run on OpenBSD but I think this information is worth disseminating in case someone finds it useful ;)
Re: FAQ - Disk Imaging
> On 04/13/13 19:27, Kevin Chadwick wrote: > > 4.15 of the faq says > > > > Unfortunately, there are no known disk imaging packages which are > > FFS-aware. > > > > I haven't tested > ... > > Get back with me when you have. > > I'll be happy to find out that statement is now wrong, but I've been > doing this about 20 years too long to believe everything that's put > out on a website. Note that OpenBSD, FreeBSD and NetBSD are not > directly file system compatible anyway, as I recall...and also note > that OpenBSD has two things you need to check -- ffs and ffs2, so > yes, I'm quite skeptical that we have a "just works" with OpenBSD > solution here. Hopefully I'm wrong. > > If it's true, this would be way-cool, but I'm not selling my air > conditioners yet. > > Prove me wrong, I'll thank you. > > Nick. > I thought I had touched on as much myself. Thinking about it, this may well have come up before and I have a hunch the verdict was the clonezilla site needed changing but It's not coming up on a quick list search so I may be getting confused with another incorrect site. I'll try it and let you know. -- ___ 'Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface' (Doug McIlroy) ___
Re: FAQ - Disk Imaging
On 04/13/13 19:27, Kevin Chadwick wrote: > 4.15 of the faq says > > Unfortunately, there are no known disk imaging packages which are > FFS-aware. > > I haven't tested ... Get back with me when you have. I'll be happy to find out that statement is now wrong, but I've been doing this about 20 years too long to believe everything that's put out on a website. Note that OpenBSD, FreeBSD and NetBSD are not directly file system compatible anyway, as I recall...and also note that OpenBSD has two things you need to check -- ffs and ffs2, so yes, I'm quite skeptical that we have a "just works" with OpenBSD solution here. Hopefully I'm wrong. If it's true, this would be way-cool, but I'm not selling my air conditioners yet. Prove me wrong, I'll thank you. Nick.
FAQ - Disk Imaging
4.15 of the faq says Unfortunately, there are no known disk imaging packages which are FFS-aware. I haven't tested whether a broad brush had been applied expecting ufs and ffs to be the same or if clonezillas statement is correct but thought it may be worth bringing up that clonezilla.org says Filesystem supported: (1) ext2, ext3, ext4, reiserfs, reiser4, xfs, jfs, btrfs of GNU/Linux, (2) FAT12, FAT16, FAT32, NTFS of MS Windows, (3) HFS+ of Mac OS, (4) UFS of FreeBSD, NetBSD, and OpenBSD, and (5) VMFS3 and VMFS5 of VMWare ESX. Therefore you can clone GNU/Linux, MS windows, Intel-based Mac OS, and FreeBSD, NetBSD, and OpenBSD, no matter it's 32-bit (x86) or 64-bit (x86-64) OS. For these file systems, only used blocks in partition are saved and restored. For unsupported file system, sector-to-sector copy is done by dd in Clonezilla.