Topic
  • 16 replies
  • Latest Post - ‏2013-02-27T17:09:30Z by SystemAdmin
SystemAdmin
SystemAdmin
6902 Posts

Pinned topic Directory /mkcd/cd_fs needs more space

‏2013-02-22T22:06:18Z |
Thanks for reading. I have an LPAR on a P570 that has AIX 6.1.0.0. I created a mksysb file and would like to create a bootable DVD from the file. When I try to do this with smitty or the mkdvd command I get an error that /mkcd/cd_fs needs a little more than 3GB of space. The command df -g /mkcd/cd_fs shows that it has 1 GB free. I did the command chfs -a size=+4G /mkcd/cd_fs and received a message stating that it completed successfully. When I tried creating the dvd again I got the same message /mkcd/cd_fs needs 3GB more space. I looked at df -g again and it still showed as 1 GB free. What am I doing wrong?
Updated on 2013-02-27T17:09:30Z at 2013-02-27T17:09:30Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-22T22:17:47Z  
    lsvgfs rootvg shows that /mkcd/cd_fs is on the rootvg.

    lsvg rootvg shows FREE PPs: 693 (88704 megabytes)
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T10:31:35Z  
    lsvgfs rootvg shows that /mkcd/cd_fs is on the rootvg.

    lsvg rootvg shows FREE PPs: 693 (88704 megabytes)
    Hi,

    What do the following commands show?
    lsfs /mkcd/cd_fs
    lslv <lv_name>
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T13:55:39Z  
    Hi,

    What do the following commands show?
    lsfs /mkcd/cd_fs
    lslv <lv_name>
    Thanks for replying.

    LOGICAL VOLUME: lv00 VOLUME GROUP: rootvg
    LV IDENTIFIER: 00cdc7ee00004c00000001363fd48918.14 PERMISSION: read/write
    VG STATE: active/complete LV STATE: closed/syncd
    TYPE: jfs WRITE VERIFY: off
    MAX LPs: 512 PP SIZE: 128 megabyte(s)
    COPIES: 1 SCHED POLICY: parallel
    LPs: 177 PPs: 177
    STALE PPs: 0 BB POLICY: relocatable
    INTER-POLICY: minimum RELOCATABLE: yes
    INTRA-POLICY: middle UPPER BOUND: 32
    MOUNT POINT: /mkcd/cd_fs LABEL: /mkcd/cd_fs
    MIRROR WRITE CONSISTENCY: on/ACTIVE
    EACH LP COPY ON A SEPARATE PV ?: yes
    Serialize IO ?: NO
    INFINITE RETRY: no
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T15:52:13Z  
    Thanks for replying.

    LOGICAL VOLUME: lv00 VOLUME GROUP: rootvg
    LV IDENTIFIER: 00cdc7ee00004c00000001363fd48918.14 PERMISSION: read/write
    VG STATE: active/complete LV STATE: closed/syncd
    TYPE: jfs WRITE VERIFY: off
    MAX LPs: 512 PP SIZE: 128 megabyte(s)
    COPIES: 1 SCHED POLICY: parallel
    LPs: 177 PPs: 177
    STALE PPs: 0 BB POLICY: relocatable
    INTER-POLICY: minimum RELOCATABLE: yes
    INTRA-POLICY: middle UPPER BOUND: 32
    MOUNT POINT: /mkcd/cd_fs LABEL: /mkcd/cd_fs
    MIRROR WRITE CONSISTENCY: on/ACTIVE
    EACH LP COPY ON A SEPARATE PV ?: yes
    Serialize IO ?: NO
    INFINITE RETRY: no
    The LV STATE of closed/syncd indicates it's not mounted.

    Have you definitely mounted the filesystem? (mount /mkcd/cd_fs)
    It also looks to be about 22GB now. How many times have you run the "chfs -a size=+4G /mkcd/cd_fs" command?
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:04:46Z  
    The LV STATE of closed/syncd indicates it's not mounted.

    Have you definitely mounted the filesystem? (mount /mkcd/cd_fs)
    It also looks to be about 22GB now. How many times have you run the "chfs -a size=+4G /mkcd/cd_fs" command?
    No, I haven't done that command. I did the chfs command several times. Should I do mount /mkcd/cd_fs?
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:18:15Z  
    No, I haven't done that command. I did the chfs command several times. Should I do mount /mkcd/cd_fs?
    First clear up the mount point - the folder /mkcd/cd_fs - remove everything in there that you do not need as it will be hidden once you mount the new filesystem.

    If you need to (to save space in rootvg for other purposes) reduce the size of the new filesystem from 22GB to, say 5GB:
    chfs -a size=5G /mkcd/cd_fs
    (Note NOT +5G)

    Now mount the filesystem
    mount /mkcd/cd_fs

    And check with
    df -g /mkcd/cd_fs

    It should now show as 5GB, and be big enough for your dvd ISO.
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:21:29Z  
    First clear up the mount point - the folder /mkcd/cd_fs - remove everything in there that you do not need as it will be hidden once you mount the new filesystem.

    If you need to (to save space in rootvg for other purposes) reduce the size of the new filesystem from 22GB to, say 5GB:
    chfs -a size=5G /mkcd/cd_fs
    (Note NOT +5G)

    Now mount the filesystem
    mount /mkcd/cd_fs

    And check with
    df -g /mkcd/cd_fs

    It should now show as 5GB, and be big enough for your dvd ISO.
    I tried setting the size instead of increasing the size once with chfs but I got an error:

    chfs: 0506-908 Cannot reduce size of file system
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:25:53Z  
    I tried setting the size instead of increasing the size once with chfs but I got an error:

    chfs: 0506-908 Cannot reduce size of file system
    My mistake... you have a JFS filesystem; reduction only works with JFS2.

    You can either remove it and create again at the correct size, or work with it at 22GB, and as it is for temporary use only, delete it when you've got your ISO off.

    Decide which, and then go to the mount command...
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:39:47Z  
    My mistake... you have a JFS filesystem; reduction only works with JFS2.

    You can either remove it and create again at the correct size, or work with it at 22GB, and as it is for temporary use only, delete it when you've got your ISO off.

    Decide which, and then go to the mount command...
    If I try to keep it at 22GB I still get:

    0512-329 mkdvd: User specified CD or DVD file system: /mkcd/cd_fs
    needs an additional 4387567115 bytes.
    yet my mksysb file is only

    3296972800 Feb 21 13:30 cmtest.mksysb
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:50:28Z  
    If I try to keep it at 22GB I still get:

    0512-329 mkdvd: User specified CD or DVD file system: /mkcd/cd_fs
    needs an additional 4387567115 bytes.
    yet my mksysb file is only

    3296972800 Feb 21 13:30 cmtest.mksysb
    Can I see the output of:

    lsvg -l rootvg
    lsfs /mkcd/cd_fs
    lslv lv00
    df -g /mkcd/cd_fs

    Thanks...
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:54:55Z  
    Can I see the output of:

    lsvg -l rootvg
    lsfs /mkcd/cd_fs
    lslv lv00
    df -g /mkcd/cd_fs

    Thanks...
    root:/>lsvg -l rootvg
    rootvg:
    LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
    hd5 boot 1 1 1 closed/syncd N/A
    hd6 paging 4 4 1 open/syncd N/A
    hd8 jfs2log 1 1 1 open/syncd N/A
    hd4 jfs2 8 8 1 open/syncd /
    hd2 jfs2 64 64 1 open/syncd /usr
    hd9var jfs2 4 4 1 open/syncd /var
    hd3 jfs2 8 8 1 open/syncd /tmp
    hd1 jfs2 40 40 1 open/syncd /home
    hd10opt jfs2 80 80 1 open/syncd /opt
    hd11admin jfs2 1 1 1 open/syncd /admin
    lg_dumplv sysdump 8 8 1 open/syncd N/A
    livedump jfs2 2 2 1 open/syncd /var/adm/ras/livedump
    loglv01 jfslog 1 1 1 closed/syncd N/A
    lv00 jfs 177 177 1 closed/syncd /mkcd/cd_fs
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:55:14Z  
    Can I see the output of:

    lsvg -l rootvg
    lsfs /mkcd/cd_fs
    lslv lv00
    df -g /mkcd/cd_fs

    Thanks...
    root:/>lsfs /mkcd/cd_fs
    Name Nodename Mount Pt VFS Size Options Auto Accounting
    /dev/lv00 -- /mkcd/cd_fs jfs 46399488 rw no no
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:55:38Z  
    Can I see the output of:

    lsvg -l rootvg
    lsfs /mkcd/cd_fs
    lslv lv00
    df -g /mkcd/cd_fs

    Thanks...
    root:/>lslv lv00
    LOGICAL VOLUME: lv00 VOLUME GROUP: rootvg
    LV IDENTIFIER: 00cdc7ee00004c00000001363fd48918.14 PERMISSION: read/write
    VG STATE: active/complete LV STATE: closed/syncd
    TYPE: jfs WRITE VERIFY: off
    MAX LPs: 512 PP SIZE: 128 megabyte(s)
    COPIES: 1 SCHED POLICY: parallel
    LPs: 177 PPs: 177
    STALE PPs: 0 BB POLICY: relocatable
    INTER-POLICY: minimum RELOCATABLE: yes
    INTRA-POLICY: middle UPPER BOUND: 32
    MOUNT POINT: /mkcd/cd_fs LABEL: /mkcd/cd_fs
    MIRROR WRITE CONSISTENCY: on/ACTIVE
    EACH LP COPY ON A SEPARATE PV ?: yes
    Serialize IO ?: NO
    INFINITE RETRY: no
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T16:55:56Z  
    Can I see the output of:

    lsvg -l rootvg
    lsfs /mkcd/cd_fs
    lslv lv00
    df -g /mkcd/cd_fs

    Thanks...
    root:/>df -g /mkcd/cd_fs
    Filesystem GB blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 1.00 0.33 67% 11333 13% /
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T17:00:53Z  
    root:/>df -g /mkcd/cd_fs
    Filesystem GB blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 1.00 0.33 67% 11333 13% /
    The filesystem still isn't mounted...

    Was there any output from
    mount /mkcd/cd_fs
    ?
  • SystemAdmin
    SystemAdmin
    6902 Posts

    Re: Directory /mkcd/cd_fs needs more space

    ‏2013-02-27T17:09:30Z  
    The filesystem still isn't mounted...

    Was there any output from
    mount /mkcd/cd_fs
    ?
    After I did the mount command it worked. Thanks!