LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-15-2009, 05:08 AM   #1
skubik
Member
 
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware64 15.0/current
Posts: 152

Rep: Reputation: 21
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
 
Old 03-15-2009, 09:56 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Try using args that makes sense like "bs=1MB count=4200"?
 
Old 03-15-2009, 11:10 AM   #3
mangezoutianya
LQ Newbie
 
Registered: Feb 2009
Distribution: Debian
Posts: 4

Rep: Reputation: 1
Yes,the value of "bs" is supposed to be an integer.
 
Old 03-15-2009, 01:01 PM   #4
skubik
Member
 
Registered: May 2003
Location: A dark corner in Canada
Distribution: Slackware64 15.0/current
Posts: 152

Original Poster
Rep: Reputation: 21
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I need help formatting ext3 with a 4KiB block size. hotrock3 Red Hat 5 01-23-2009 06:03 AM
ext3 super block get modified after mkfs.ext3 amitpardesi Programming 1 04-25-2008 10:42 AM
mk2efs ext3 block count differs on same partition size tkmbe Linux - General 1 06-29-2005 09:23 AM
Extend ext2/ext3 file size limit npuetz Linux - General 2 10-12-2004 09:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration