Visit the LQ Articles and Editorials section
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 04-18-2012, 01:26 PM   #1
Registered: Oct 2011
Posts: 164

Rep: Reputation: Disabled
How to create a single file with size of 50 GB

In one of my production server had database size of 50Gb volume.Can anyone help me how can i migrate a database to another production server .But linux is not supporting a single file with 50GB vOlume.
Old 04-18-2012, 01:44 PM   #2
LQ Newbie
Registered: Apr 2012
Location: New York
Distribution: Centos,Debian
Posts: 29

Rep: Reputation: 1
What kind of database? if its a mysql database you could use mysqldump databasename > file.sql and then create a tar package and copy it to your new server.

I think this is what you want to do.

Last edited by kyrunner; 04-18-2012 at 01:55 PM.
Old 04-18-2012, 03:29 PM   #3
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian except for netbook still on Slackware 13.37 (and I have to support Ubuntu)
Posts: 8,572
Blog Entries: 30

Rep: Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182Reputation: 1182
Originally Posted by sanjay87 View Post
But linux is not supporting a single file with 50GB vOlume.
Which file system are you using and what blocksize is it formatted with? Linux file systems can easily accommodate 50 GB files if they are set up to do so. The two most commonly used, ext3 and ext4, can be set up for a maximum file size of 2 TB and 16 TB respectively according to this Wikipedia article..


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Create a file of a specified size Rettahdam Linux - Newbie 5 12-11-2011 04:57 AM
create file - fixed size rguy Linux - Newbie 4 06-10-2010 06:08 PM
[SOLVED] How to create a file of pre-defined size in C ? TheIndependentAquarius Programming 7 02-18-2010 05:33 AM
how to create file with a specific file size markraem Linux - Software 7 08-22-2007 07:38 PM
Create a script to display file name, Inode, and size of any file. Has to be a script JaxsunApex Linux - Newbie 7 01-29-2007 09:15 PM

All times are GMT -5. The time now is 06: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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration