LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-28-2003, 06:15 PM   #1
dbcad7
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Rep: Reputation: 0
changing cluster size = reinstall ?


Hello file system experts,

Is it posible to change the cluster sizes in the ext2 file system without losing everything ?

I stupidly chose the consevative middle choice when I installed Slackware. And now harddrive space is getting dangerously low. in looking throug my drive I notice that most files are extremely small anyway so I shot myself in the foot.

Not a major biggie, mostly a loss of time to reinstall and cofigure everything again, but is there another way out ??

Thanks
Dennis
 
Old 12-28-2003, 07:30 PM   #2
AntEater
Member
 
Registered: Jan 2003
Location: Vermont
Distribution: Slackware
Posts: 31

Rep: Reputation: 15
If you have another partition or storeage media, you could simply tar the contents of the partition in question and then reformat it with a different block size.

mke2fs -b 1024 -c /dev/hda2

or whatever your device would be. After reformatting the partition restore the tar archive to the new file system.
 
Old 12-28-2003, 09:39 PM   #3
dbcad7
LQ Newbie
 
Registered: Dec 2003
Posts: 11

Original Poster
Rep: Reputation: 0
space probs

Thanks for the above suggestion,

I have decided, I just don't have enough MB of space and that even though redoing the size will "buy me some time"... I just need a bigger drive.

I am a bit behind the times, the drive I have is only a 6.5, and I gave 2 to Linux. now Windows getting a bit cramped too. I thought 2 would be adaquate (sp ?) because only really wanted Windowmaker and some basic apps (like a filemaker and Mozilla) and that's pretty much what I did, except for getting an x-dialing program to dial up the net, and the newer kernel. It was when I tried to compile Wine that I found out 2MB was just not enough with the cluster (block) size I chose.

I am thinking that when I get the new drive, probably just easier to start from scratch, and also give it more meg with the smaller sized clusters as well. I considered tar idea great though !! and I even considered maybe using it with the new drive, but seems like more configuring would also be needed after I got it untarred on the new drive with different hardware.. etc.. and at this base point of my system I think it's just as well I do it over but do it right the next time.

Again thanks !
Dennis
 
  


Reply


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
Max cluster size Pauli Slackware 0 03-20-2005 04:41 PM
Changing font size kamransoomro84 Programming 2 06-27-2004 10:54 PM
Changing the parititon size !! OneManArmy Debian 1 04-24-2004 05:15 AM
howto check cluster size of partions lowly_tech Linux - Newbie 1 03-21-2002 06:48 AM
NTFS Mount Error - "Cluster Size Not Supported" dougweiser Linux - Software 2 01-22-2002 08:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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