Summary: Extend file system

From: Howard Arnold (arnoldh_at_celerent.com)
Date: 01/21/05

  • Next message: Benjamin Ingwersen: "HSZ80 problems"
    Date: Fri, 21 Jan 2005 12:48:32 -0500
    To: Tru64-Unix-Managers <tru64-unix-managers@ornl.gov>
    
    

    Thanks for all the reply's. Most of the replies mentioned doing a addvol to
    grow the file system which I know how to do and have done many times. My
    main goal was to test the EVA's capability of extending a file system using
    the new capabilities of 5.1b. The way it is documented in the manual didn't
    work for me.

    I created another test case this morning and I did a hwmgr -scan scsi before
    reading and writing the new label and it didn't work. I still got the
    message,

    disklabel: partition c: partition extends past end of unit
    disklabel: Replacement label is invalid.

    when I tried to write the new label back to the disk.

    I forgot to mention that I was using the c partition. Anyhow using the
    disklabel -rw dsk100 and then doing the mount -u -o extend test_domain#test
    /test works. I can't guarantee that this is the best or only way to do it,
    but it was a way I found to get it to work.

    Thanks,

    Howard

    Original question:

    I have a quick question on extending a file system. I have an HSV110 and I
    have extend my virtual disk by 100gig. I want to extend the file system
    without umounted it. This is what I did

     1) Extended virtual disk by 100gig
     2) disklabel -rw dsk100
     3) mount -u -o test_domain#test /test

     The file system showed the increase in size and I was able to read and
     write the file system.

     The reason I'm asking the question is the system admin guide has you
     reading the disklabel to a file and then modifying the label and reading it
    back onto the disk (section 6.3). This didn't work for me because is said
    that the open partition extend pass the end of the disk.


  • Next message: Benjamin Ingwersen: "HSZ80 problems"

    Relevant Pages

    • Summary 2: Extend file system
      ... partition the way I was doing I also needed to change the sectors/unit: ... I then did a test by putting in a larger value, larger than the actual disk ... I than did a mount -u -o extend and it failed by stating that it would ... I have a quick question on extending a file system. ...
      (Tru64-UNIX-Managers)
    • Re: Extending a File System Partition for Windows XP
      ... This hotfix includes a new Diskpart.exe utility command (extend filesystem) ... that you can use to extend the file system only. ... Diskpart prompt: ...
      (microsoft.public.windowsxp.configuration_manage)
    • Extend file system
      ... I have a quick question on extending a file system. ... have extend my virtual disk by 100gig. ... The reason I'm asking the question is the system admin guide has you reading ...
      (Tru64-UNIX-Managers)
    • Re: about hard drive and RAID5
      ... You can also convert the disk from a basic disk to a dynamic disk and extend the file system. ... Though extended file systems on a dynamic disk are not as nice as a contiguous partition on a basic disk. ...
      (microsoft.public.windows.server.general)
    • Re: Extending a File System Partition for Windows XP
      ... You can't extend the system volume other than by mounting another volume to ... Make sure you have a backup of all partitions before attempting this. ... filesystem) that you can use to extend the file system only. ... following commands at the Diskpart prompt: ...
      (microsoft.public.windowsxp.configuration_manage)