Professional Web Applications Themes

How to change fs partition? - Linux / Unix Administration

Hi there all. To start, I am new on unix. Doing an installation on a SunFire V120 with Solaris 8. I have a partition of 14 GB. This has been formatted to have a filesystem on it. And the /etc/vfstab file has been modified. And mountall has been run. It is called /apps and shows when doing df -k. There is no data on /apps. I would like to re-partition this to 10 GB for /apps and 4GB for a new one called /sybase. What do I do? When running format and going into partitioning, I can change it. When ...

  1. #1

    Default How to change fs partition?


    Hi there all.

    To start, I am new on unix. Doing an installation on a SunFire V120 with
    Solaris 8.

    I have a partition of 14 GB. This has been formatted to have a
    filesystem on it. And the /etc/vfstab file has been modified. And
    mountall has been run. It is called /apps and shows when doing df -k.
    There is no data on /apps.

    I would like to re-partition this to 10 GB for /apps and 4GB for a new
    one called /sybase.

    What do I do? When running format and going into partitioning, I can
    change it. When I label, it says: Cannot label disk while it has mounted
    partitions.

    Okay, unmount /apps. How?

    When I tried umount /apps it says /apps busy.

    Also tried to comment the line out in vfstab for that device.

    Any help welcome.
    Eleonora

    --
    Posted via [url]http://dbforums.com[/url]
    egutter Guest

  2. #2

    Default Re: How to change fs partition?

    egutter wrote:
    >
    > Hi there all.
    >
    > To start, I am new on unix. Doing an installation on a SunFire V120 with
    > Solaris 8.
    >
    > I have a partition of 14 GB. This has been formatted to have a
    > filesystem on it. And the /etc/vfstab file has been modified. And
    > mountall has been run. It is called /apps and shows when doing df -k.
    > There is no data on /apps.
    >
    > I would like to re-partition this to 10 GB for /apps and 4GB for a new
    > one called /sybase.
    >
    > What do I do? When running format and going into partitioning, I can
    > change it. When I label, it says: Cannot label disk while it has mounted
    > partitions.
    >
    > Okay, unmount /apps. How?
    >
    > When I tried umount /apps it says /apps busy.
    >
    > Also tried to comment the line out in vfstab for that device.
    >
    > Any help welcome.
    > Eleonora
    >
    > --
    > Posted via [url]http://dbforums.com[/url]
    Fundamentally, you boot of the distribution media after backing up
    all files on the device which you wish to re-partition. Then
    you can meddle around with it, and reload the files.

    Speaking only for myself,

    Joe Durusau
    Joe Durusau Guest

  3. #3

    Default Re: How to change fs partition?

    You might want to make sure that there are no open filehandles for anything
    in /apps. Use lsof to verify. Once you've stopped all processes holding
    filehandles in /apps, it will unmount cleanly.

    -tj-


    "egutter" <member35687dbforums.com> wrote in message
    news:3234015.1060784096dbforums.com...
    >
    > Hi there all.
    >
    > To start, I am new on unix. Doing an installation on a SunFire V120 with
    > Solaris 8.
    >
    > I have a partition of 14 GB. This has been formatted to have a
    > filesystem on it. And the /etc/vfstab file has been modified. And
    > mountall has been run. It is called /apps and shows when doing df -k.
    > There is no data on /apps.
    >
    > I would like to re-partition this to 10 GB for /apps and 4GB for a new
    > one called /sybase.
    >
    > What do I do? When running format and going into partitioning, I can
    > change it. When I label, it says: Cannot label disk while it has mounted
    > partitions.
    >
    > Okay, unmount /apps. How?
    >
    > When I tried umount /apps it says /apps busy.
    >
    > Also tried to comment the line out in vfstab for that device.
    >
    > Any help welcome.
    > Eleonora
    >
    > --
    > Posted via [url]http://dbforums.com[/url]

    TJ Easter Guest

Similar Threads

  1. Resizing the OS partition
    By in forum Windows Server
    Replies: 5
    Last Post: August 24th, 06:25 AM
  2. Can I Resize A Partition With dd?
    By Hank Kingwood in forum Linux Setup, Configuration & Administration
    Replies: 2
    Last Post: August 24th, 07:27 PM
  3. Partition sharing
    By alex in forum Debian
    Replies: 3
    Last Post: August 3rd, 02:00 PM
  4. reading an ufs partition
    By mess-mate in forum Debian
    Replies: 0
    Last Post: August 1st, 12:40 PM
  5. How to change partition number & block size
    By spagi in forum Linux Setup, Configuration & Administration
    Replies: 8
    Last Post: June 28th, 12:51 PM

Bookmarks

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139