Find the answer to your Linux question:
Results 1 to 2 of 2
HI My file system is something like this: Filesystem 1K-blocks Used Available Use% Mounted on /dev/hda1 497829 497828 0 100% / none 0 0 0 - /proc /dev/hda6 73535252 983152 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2004
    Posts
    1

    Mounting Issues


    HI
    My file system is something like this:

    Filesystem 1K-blocks Used Available Use% Mounted on
    /dev/hda1 497829 497828 0 100% /
    none 0 0 0 - /proc
    /dev/hda6 73535252 983152 72552100 2% /data
    none 0 0 0 - /dev/pts
    none 511396 0 511396 0% /dev/shm
    /dev/hda2 2522076 1400092 993868 59% /usr
    /dev/hda5 1004024 316380 636640 34% /var


    It seems my /usr and /var folder have been mounted on /dev/hda2(primary partition) and /dev/hda5(extended partition) resp. I want to store the contents of both /usr and /var in /dev/hda6 (extended partition) without loosing my current data on these folders

    For doing that I think i have to mount /dev/hda6 to these folders..

    I hope I am clear
    Please help me doing that...

  2. #2
    don
    don is offline
    Linux Newbie
    Join Date
    Apr 2004
    Posts
    101
    I think you would need to split your hda6 partition to 2 partitions one for /var and other for /usr, mount these partitions and copy all your files to these respective partitions. Then edit ur /etc/fstab to correct the mountpoints of /usr and /var finally reboot, check /etc/mtab to see if the right partitions are mounted.. check the functionality of ur user apps and if everything is swell, u can free the /dev/hda2(hda5) partition.

    If u do not want to split, then leave ur /var as it is cause its already an extended partition.
    I\'m just a simple fisherman blessed with a lot of friends

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •