Re: Resize partitions urgent help

From: Alan Chandler (alan_at_chandlerfamily.org.uk)
Date: 08/03/04

  • Next message: Tom Furie: "Re: kill process by name"
    To: debian-user@lists.debian.org
    Date: Tue, 3 Aug 2004 20:05:57 +0100
    
    

    On Tuesday 03 August 2004 16:45, Vijaya S wrote:
    > thanks a lot ,
    > But my main problem is i havent used parted anytime
    > And moreover /debian is important i will take a backup of it how do i use
    > parted to do that?
    > Regards,
    > Vijaya

    Parted is very simple to use, and can tell you its commands with the help
    command. It can copy partitions, but /debian is 19G so where are you going
    to back it up to? If you can do that, the you could easily grow things.

    The best thing to do is load the stand alone version of the gnu web site,
    which should be here

    http://www.gnu.org/software/parted/parted.html

    although it s timing out at the moment so I can check

    You must not be accessing the filesystems with anything else whilst it is
    working. I think you can shrink your /dev/hda8 partition and then grow
    the /dev/hda7 parttion with the RESIZE command. Check the man page for what
    filesystems it will do this with.

    In future take a look at LVM. This allows much easier growing, shrinking and
    even extending over multiple devices a partition. As hinted at by others in
    this thread reiserfs is a good filesystem to use. I like to use reiserfs
    because it allows you to grow filesystems (assuming you have already made the
    partition bigger - with lvm that is a simple lvextend command) without
    dismounting it. You can shrink them too - but only when dismounted.

    -- 
    Alan Chandler
    alan@chandlerfamily.org.uk
    First they ignore you, then they laugh at you,
     then they fight you, then you win. --Gandhi
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Tom Furie: "Re: kill process by name"

    Relevant Pages

    • Re: Remote diagnosis of missing /var/log
      ... Shmuel Metz wrote: ... One thing I could think of is that she ran out of space on the partition ... To find out what filesystems should be mounted on boot, try at a command ...
      (comp.os.linux.misc)
    • IDE HDD fail?
      ... This caused after this command: ... Device contains neither a valid DOS partition table, nor Sun, SGI or OSF ... Offline data collection status: ... Self-test execution status: ...
      (Linux-Kernel)
    • Re: Help with a little dd damage!
      ... Partition 3 has different physical/logical beginnings: ... Feb 28 20:20:57 morgansmachine kernel: EXT3-fs: write access will be enabled during recovery. ... So, fingers firmly crossed, have I managed to copy enough of my hard drive with the first two commands to be able to patch back the catastrophic damage I seem to have done with the last command. ... "By choosing not to ship any proprietary or binary drivers, Fedora does ...
      (Fedora)
    • Re: Trying to move /usr - Fixed
      ... After thinking about that mv command, ... Note /dev/ad8s1e is an empty partition (a new disk, ... I'll use user and usrdemo as the names of the ... the root of the file system. ...
      (freebsd-questions)
    • add disk/partition to softRaid5
      ... I am trying to add a partition to a 3 disk RAID5 device by using ... Command: Partition number: ... Old raid-disk 0 has 2132 chunks, ...
      (comp.os.linux.misc)