Hi Josh!

Thanks for caring!

Am 07/19/17 um 22:58 schrieb Josh Grosse:
> On Wed, Jul 19, 2017 at 09:24:56PM +0200, Stefan Wollny wrote:
>> Hi there!
>>  
>> Please excuse if this matter is not strictly OpenBSD-related even though
>> I use OpenBSD.
> 
> That's OK, I happen to be the maintainer of archivers/p7zip, and also of 
> sysutils/shunt, which you may want to experiment with.  Way back in the
> old days when I backed up to CD and later DVD, I used shunt to split
> backups into disc-sized chunks and burn them in the backup pipeline.  
> I haven't used it in years, but it should work for this purpose.
>   
>> When it comes to backups one usual advice (among others) is to make use
>> of different storage types. So I have tar'ed one folder (~32GB) and
>> zip'd with p7zip. man p7 explains the '-v{size}bkmg'-switch but I got
>> "System ERROR: E_NOTIMPL". 
> 
> I am unable to recreate this problem on amd64.  I just used 
> 
>     $ vmctl create 100mb.file -s 100m
>     $ 7z a test.7z 100mb.file -v5k
> 
> I obtained 4 output files, test.7z.0001 thru test.7z.0004.
> 

This is the actual command and result:

$ tar cf - /home/sw/Bilder/Nikon\ Transfer/20170430_Keukenhof/ | 7z a
-t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on -v4880m -si
Keukenhof_20170430.tar.7z
tar: Removing leading / from absolute path names in the archive

7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=de_DE.UTF-8,Utf16=on,HugeFiles=on,64 bits,4
CPUs x64)

System ERROR:
E_NOTIMPL
tar: Failed write to archive volume: 1: Broken pipe


BUT: If I do it seperately like in your example it _does_ work out fine:

$ 7z a -v4480m -t7z -m0=lzma -mx=9 -mfb=64 -md=32m -ms=on
Keukenhof_20170430.7z Keukenhof_20170430.tar


7-Zip [64] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
p7zip Version 16.02 (locale=de_DE.UTF-8,Utf16=on,HugeFiles=on,64 bits,4
CPUs x64)

Scanning the drive:
1 file, 35988090880 bytes (34 GiB)

Creating archive: Keukenhof_20170430.7z

Items to compress: 1
[ ... ]

{I am aware that this is not fast but time is not an issue here.}


>> ... Using split(1) I ended with several files of
>> ~4.5GB each of which got burned to a DVD like so:
>>  
>> $ doas growisofs -dvd-compat -Z /dev/rcd0c=<part-file>
> 
> This is your key problem.  The ISO file in "<part-file>" needs to be
> a CD9660/UFS file system when you use this form of the growisofs(1m) 
> command.  Instead, it contains random compressed bits.  This is why you
> cannot mount it.
> 
> Practice burning with DVD-RW or DVD+RW media.  You can continue to play
> with it until you have your procedure correct, usable, and reproducable.
> 

OK - seems I need more patience with mkhybrid-documentation...

Thanks again - I will do my best to do my homework!

Best,
STEFAN

Reply via email to