Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

need help with ext3

Status
Not open for further replies.
Jun 20, 2002
64
MY
Hi,

I have been surfing around looking for info. on how to manipulate ext3 filesystems, and so far found everything about the advantages, capabilities etc. of ext3 but nothing about the tools and how to manipulate ext3 filesystems.

Anyway, my question is :
Is there a tool like AIX's smitty lvm (extendvg, reducevg) which allows you to expand/extend/reduce an ext3 filesystem ? Why you ask, well, my /var directory which holds my spool/mail directory is full and I need to extend it for more space to hold mails. Any help ?

Also,
1. Is there a command which allows to view disk space on the harddisk which has not been allocated ?

2. Is there a command to show the paging space (ie AIX:lsps) in linux ?

3. Is there any website that I can go to, to get more info on linux filesystem management capabilities and tools ?

Thanks in advance.
Saran.
 
The 'tune2fs' command is used to modify ext2 filesytems, but it probably works on ext3 also.

The 'free -m' and 'top' commands can give you info on your swap space.

I've never resized ext3 partitions, but I read that the 'parted' utility can resize ext2 filesystems. You can also use a third party tool such as PartitionMagic to resize partitions too.

I don't know of a good utility that allows you to view free disk space, but the only solution I can think of is to use "fdisk /dev/xxx" and then type 'n' to create a new partition. Press 'p' or 'l' (or 'e' first) to create a logical or primary partition. At this point, it will tell you if you have any free space left on the drive. This method sucks, but its the only way I know how to do it in Linux. Maybe someone else can give a better answer.


ChrisP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top