Re: Changing space reserved
Tim Thomson [EMAIL PROTECTED] writes: Doing this reminded me of a problem I had trying to defrag the drive. I unmounted it and booted off a floppy, typed edefrag and : stalin# edefrag -d -r /dev/hda1 edefrag 0.61 DEBUG: read_tables() edefrag: bad magic number in super-block What's going on? I tried the same on an unmounted floppy disk and it said the same thing. I downloaded another copy thinking it had got corrupted, but it did the same thing. Any ideas? I hate to say it, but rt*m - in this case, the man page. Then know that the extended filesystem is (and has been for a while) obsolete and that you are almost certainly using an extended 2 filesystem (the 2 is very important!) In fact, if you could use tune2fs, then you certainly are. edefrag is for extended filesystems - e2defrag is for extended 2 filesystems. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Changing space reserved
Hi, My Debian system has only a 100Mb Hard Drive, I stuck a resonable system onto it, managed to recompile my kernel (although I've now deleted most of the source) and have now set it up as much as I want to for now. I use my system to recieve mail using fetchmail. What I want to know is, can I reduce the amount that is reserved. ie, df reports: Filesystem 1024-blocks Used Available Capacity Mounted on /dev/hda1 91230 80945 5574 94% / It says I have 5Mb free, but 91Mb-80Mb = 11Mb! Can I change it so it reserves say, 2Mb instead? Is it safe to do this? What could go wrong? Thanks in advance, Tim. Customer: I'm using Windows 95 Tech Support: Yes... Customer: My computer isn't working now Tech Support: Yes, you said that -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Changing space reserved
Tim Thomson wrote: It says I have 5Mb free, but 91Mb-80Mb = 11Mb! Can I change it so it reserves say, 2Mb instead? tune2fs -m 2 /dev/hda1 Is it safe to do this? What could go wrong? The man page for tune2fs warns: Never use tune2fs on a read/write mounted filesystem to change parameters! Also, BUGS We didn't find any bugs yet. Perhaps there are bugs but it's unlikely. WARNING Use this utility on your own risk. You're modifying filesystems. -- see shy jo -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Changing space reserved
Tim Thomson [EMAIL PROTECTED] writes: My Debian system has only a 100Mb Hard Drive, I stuck a resonable system onto it, managed to recompile my kernel (although I've now deleted most of the source) and have now set it up as much as I want to for now. I use my system to recieve mail using fetchmail. What I want to know is, can I reduce the amount that is reserved. ie, df reports: Filesystem 1024-blocks Used Available Capacity Mounted on /dev/hda1 91230 80945 5574 94% / It says I have 5Mb free, but 91Mb-80Mb = 11Mb! Can I change it so it reserves say, 2Mb instead? Yes, you can, with the tune2fs program, which is in the base package e2fsprogs. Note that you shouldn't run tune2fs on a read-write mounted system. I'd first inspect the man page of tune2fs and determine what I wanted to do and then either: get a debian root disk, copy the tune2fs program onto it (It's not already on the default root disks, is it?), and reboot from floppy - once I'd gotten to the menus, switch to console 2, do the tune2fs, and reboot not from floppy. -or- (this one is the risky method) sync mount -n -o remount,ro / tune2fs whatever mount -n -o remount,rw / Is it safe to do this? I think so; then again, I've never tried tune2fs. What could go wrong? I won't speculate much - the only thing I can think of is that it gives you a little less room to work with if your system gets full; however, I can only see the reserved space for root being useful when a system has to be fixed without bringing it down completely (e.g. remote administration). When I built my low-disk-space debian box, I made the filesystem with nothing reserved for root. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
Re: Changing space reserved
On Tue, 30 Dec 1997, Daniel Martin at cush wrote: (this one is the risky method) sync mount -n -o remount,ro / tune2fs whatever mount -n -o remount,rw / Worked!!! (had to go to maintence mode). Thanks a lot!!! What does the volume name you can set do? Doing this reminded me of a problem I had trying to defrag the drive. I unmounted it and booted off a floppy, typed edefrag and : stalin# edefrag -d -r /dev/hda1 edefrag 0.61 DEBUG: read_tables() edefrag: bad magic number in super-block What's going on? I tried the same on an unmounted floppy disk and it said the same thing. I downloaded another copy thinking it had got corrupted, but it did the same thing. Any ideas? Thanks again, Tim. Would you buy a car with the hood welded shut? http://www.debian.org Debian/GNU Linux ... the maintainable operating system. -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .