[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re:Re: is there any way to expand the fs size



hi,

>>>>> "shashank" == shashank singh <singh_@xxxxxxxxxxx> writes:

    shashank>   This part is not what i wanted...I mean this is
    shashank> clearly given in the IGS that is on the CDROM.

	Great, so you have read it! :)

    shashank>    This is the part i want information on .I hope there
    shashank> is more info in the IGS about this..The IGS on the CDROM
    shashank> didnt seem to have any 'relevant' information on editing
    shashank> /etc/fstab..etc but then again maybe i didnt go through
    shashank> it carefully enough.

	I cant remember if it is there.  You can try to read the sys
admins guide.  However you can try the following.  Read the
foll. sample fstab and edit to suit your needs.

$ cat /etc/fstab
############
# <file system> <mount point> <type> <options>               <dump> <pass>

/dev/hda1       /             ext2   defaults,errors=remount-ro 0      1
/dev/hda2       none          swap   sw                         0      0
proc            /proc         proc   defaults                   0      0
/dev/hda3       /usr          ext2   defaults			0      0
/dev/hda5       /usr/local    ext2   defaults			0      0
/dev/hda6       /home         ext2   defaults			0      0
/dev/hda7       /var          ext2   defaults			0      0
/dev/hda8       /tmp          ext2   defaults			0      0
/dev/hda9       /usr/local/software ext2 defaults		0      0
/dev/hda10      /skratch     ext2 defaults,user			0      0 
###########
$
read the man page for fstab and mount.

As you can see you can have a wide range of options in your fstab and
can also split your data between a very large number of partitions.
For instance if you have a /home that is full and need more space for
a particular user say new_user.  You could create another partition
and mount it as /home1 and then make a symbolic link from
/home1/new_user to /home/user by doing the foll.

# ln -s /home1/new_user/ /home/new_user

This way the new users data is actually on another partition and not
on /home but everything works perfectly transparently as if the user
had his/her data on /home.

As far as installing software goes.  If you want to have the benefit
of installing precompiled binaries you need to plan properly and
ensure that you have a large enough /usr partition (cos that is where
all the software goes).  If you have a shortage of disk space you need
to fine tune your installation and uninstall unwanted stuff.  About
1-2GB for /usr is typically enough.  Unless you are some kind of a
software freak! Or you have the priviledge of having a HUGE disk.  But
these days hdd space is really cheap.  A 17GB disk costs approxly Rs
8500.  Which is around Rs 500 per GB, an amazing deal indeed!  For
binaries that you install by hand (compiling etc.) the place to put
them in is /usr/local/ For instance staroffice could go into the
/usr/local/Office51 directory.  Games (like quake, heretic, myth2 and
the like) could go into /usr/local/games  and each can have a
dedicated partition.  Your mp3's could go into /usr/local/mp3/
etc.


prabhu
---
Send e-mail to 'ilugc-request@xxxxxxxxxxxxxxxxxx' with 'unsubscribe' 
in either the subject or the body to unsubscribe from this list.