LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   dd block size limit on ext3? (https://www.linuxquestions.org/questions/linux-software-2/dd-block-size-limit-on-ext3-711705/)

skubik 03-15-2009 05:08 AM

dd block size limit on ext3?
 
I'm wanting to setup an encrypted iso file for sensitive information. There is a lot I want to 'backup' onto this encrypted iso- about 4.2G worth. I have done this procedure before, but not with such large files.

First I'm using 'dd' to create the iso image file, but it's failing when I give it the size of file I want it:

> dd if=/dev/urandom of=ISO0.iso bs=4.2G count=1
dd: invalid number '4.2G'

I'm attempting to create ISO0.iso on an ext3 filesystem, so it can't be a file-size limitation. I have files much larger than 4.2G on the same drive- same directory even! This makes no sense. Can someone explain why this might not be working? I'm using dd version 6.9

Thanks,

- skubik

unSpawn 03-15-2009 09:56 AM

Try using args that makes sense like "bs=1MB count=4200"?

mangezoutianya 03-15-2009 11:10 AM

Yes,the value of "bs" is supposed to be an integer.

skubik 03-15-2009 01:01 PM

Thanks. I thought I read somewhere online to use a file with a block size as large as the size of the filesystem you want- in this case 4.2G. But when I went back to find it, it doesn't seem to appear anywhere. Still- I have been able to use "bs=1G count=1" just fine, but when I try and go bigger than 1G, it fails. I kinda get why that might be. Oh well- I'll adjust count accordingly.


All times are GMT -5. The time now is 03:28 PM.