Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - News > Syndicated Linux News
User Name
Syndicated Linux News This forum is for the discussion of Syndicated Linux News stories.


  Search this Thread
Old 08-27-2011, 03:30 PM   #1
LXer NewsBot
Registered: Dec 2005
Posts: 114,925

Rep: Reputation: 118Reputation: 118
LXer: How To Extend Size Of The Storage File

Published at LXer:

In our previous post “using a file as a storage device” adrian asked a question to us : is it possible to extend the size on the ‘filename’ file? We searched on it and figured out the answer. Let’s roll Lets say you create a file name /newfile of size 200MB and format it, after a while you want to extend the file size. To do that do the followingStep 1. Lets say you want to increase the file size by 100MBdd oflag=append conv=notrunc if=/dev/zero of=/newfile bs=1MB count=100Now, the file is 100MB larger.Step 2. Run file system check on the file



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Extend Xfce's Thunar File Manager with Custom Actions LXer Syndicated Linux News 0 05-03-2011 09:40 AM
LVM extend size bravored Linux - General 7 01-21-2009 01:13 PM
LXer: Linux Storage: Creating a Partition Size Larger than 2TB LXer Syndicated Linux News 0 11-06-2007 07:00 PM
Extend The Size of /root mmehta Linux - Newbie 2 09-20-2007 05:56 PM
Extend ext2/ext3 file size limit npuetz Linux - General 2 10-12-2004 09:31 AM > Forums > Linux Forums > Linux - News > Syndicated Linux News

All times are GMT -5. The time now is 04:37 PM.

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