Unix Technical Forum

File system creation error....

This is a discussion on File system creation error.... within the AIX Operating System forums, part of the Unix Operating Systems category; --> Hello, I have a 7208-011 with 2 1 gig hard drives. The system is running on hdisk0 and I ...


Go Back   Unix Technical Forum > Unix Operating Systems > AIX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-04-2008, 08:47 PM
MIKE U
 
Posts: n/a
Default File system creation error....

Hello,
I have a 7208-011 with 2 1 gig hard drives. The system is running on
hdisk0 and I wanted to create a file system on hdisk1 which only contains
the file system /dbms, which also is allocated to use the entire hard drive.
I received some instructions on doing this before and it doesnt appear to
work for me.

I did "lspv hdisk1" and found out that 248 PP's are avail, which are
basically all of them. They are 4mb in size.

Using Smit I did the following;

I added the logical volume on "datavg" and set it to the 248 PP's. It
created a lv named lv00.

I went to create the filesystem "/dbms" using smitty fs, JFS, add a JFS on
a previously defined LV, add a standard JFS. Chose the logical volume lv00,
made the mount point /dbms , and set to mount automatically, and I get the
following error message.

Command: failed stdout: yes stderr: no

Before command completion, additional instructions may appear below.

0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The command
should be retried with different allocation characteristics.
0516-822 mklv: Unable to create logical volume.
crfs: 0506-902 Cannot create logical volume.

Am I missing something here??

Thanks

Mike


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-04-2008, 08:47 PM
Harry Chan
 
Posts: n/a
Default Re: File system creation error....

MIKE U wrote:
>
> I did "lspv hdisk1" and found out that 248 PP's are avail, which are
> basically all of them. They are 4mb in size.
>
> Using Smit I did the following;
>
> I added the logical volume on "datavg" and set it to the 248 PP's. It
> created a lv named lv00.
>
> I went to create the filesystem "/dbms" using smitty fs, JFS, add a JFS on
> a previously defined LV, add a standard JFS. Chose the logical volume lv00,
> made the mount point /dbms , and set to mount automatically, and I get the
> following error message.
>
> Command: failed stdout: yes stderr: no
>
> Before command completion, additional instructions may appear below.
>
> 0516-404 allocp: This system cannot fulfill the allocation request.
> There are not enough free partitions or not enough physical volumes
> to keep strictness and satisfy allocation requests. The command
> should be retried with different allocation characteristics.
> 0516-822 mklv: Unable to create logical volume.
> crfs: 0506-902 Cannot create logical volume.
>
> Am I missing something here??
>
> Thanks
>
> Mike
>
>

The logical volume lv00 should be no larger that 247 PP. You need at
least one PP free for creating the journal log file which is done when
you tried to create the JFS.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-04-2008, 08:47 PM
Steve Nottingham
 
Posts: n/a
Default Re: File system creation error....

"MIKE U" <lbpipe@nunyabusiness.com> wrote in message news:<KCPqb.3370$IY4.718@newssvr29.news.prodigy.co m>...
> Hello,
> I have a 7208-011 with 2 1 gig hard drives. The system is running on
> hdisk0 and I wanted to create a file system on hdisk1 which only contains
> the file system /dbms, which also is allocated to use the entire hard drive.
> I received some instructions on doing this before and it doesnt appear to
> work for me.
>
> I did "lspv hdisk1" and found out that 248 PP's are avail, which are
> basically all of them. They are 4mb in size.
>
> Using Smit I did the following;
>
> I added the logical volume on "datavg" and set it to the 248 PP's. It
> created a lv named lv00.
>
> I went to create the filesystem "/dbms" using smitty fs, JFS, add a JFS on
> a previously defined LV, add a standard JFS. Chose the logical volume lv00,
> made the mount point /dbms , and set to mount automatically, and I get the
> following error message.
>
> Command: failed stdout: yes stderr: no
>
> Before command completion, additional instructions may appear below.
>
> 0516-404 allocp: This system cannot fulfill the allocation request.
> There are not enough free partitions or not enough physical volumes
> to keep strictness and satisfy allocation requests. The command
> should be retried with different allocation characteristics.
> 0516-822 mklv: Unable to create logical volume.
> crfs: 0506-902 Cannot create logical volume.
>
> Am I missing something here??
>
> Thanks
>
> Mike


Yes, to create a JFS filesystem, you also need a JFS log, by default
if there isn't one on the VG, the system will attempt to create one of
1 PP the first time you create a filesystem, so you need to:
rmlv lv00
recreate the LV with 247 PP's and then create the filesystem.

Steve
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-04-2008, 08:48 PM
MIKE U
 
Posts: n/a
Default Re: File system creation error....

Thanks for your help, that was the problem.....


"Steve Nottingham" <steve@wakefieldrfc.freeserve.co.uk> wrote in message
news:42862645.0311071741.1ecfcdec@posting.google.c om...
> "MIKE U" <lbpipe@nunyabusiness.com> wrote in message

news:<KCPqb.3370$IY4.718@newssvr29.news.prodigy.co m>...
> > Hello,
> > I have a 7208-011 with 2 1 gig hard drives. The system is running on
> > hdisk0 and I wanted to create a file system on hdisk1 which only

contains
> > the file system /dbms, which also is allocated to use the entire hard

drive.
> > I received some instructions on doing this before and it doesnt appear

to
> > work for me.
> >
> > I did "lspv hdisk1" and found out that 248 PP's are avail, which are
> > basically all of them. They are 4mb in size.
> >
> > Using Smit I did the following;
> >
> > I added the logical volume on "datavg" and set it to the 248 PP's. It
> > created a lv named lv00.
> >
> > I went to create the filesystem "/dbms" using smitty fs, JFS, add a JFS

on
> > a previously defined LV, add a standard JFS. Chose the logical volume

lv00,
> > made the mount point /dbms , and set to mount automatically, and I get

the
> > following error message.
> >
> > Command: failed stdout: yes stderr: no
> >
> > Before command completion, additional instructions may appear below.
> >
> > 0516-404 allocp: This system cannot fulfill the allocation request.
> > There are not enough free partitions or not enough physical

volumes
> > to keep strictness and satisfy allocation requests. The command
> > should be retried with different allocation characteristics.
> > 0516-822 mklv: Unable to create logical volume.
> > crfs: 0506-902 Cannot create logical volume.
> >
> > Am I missing something here??
> >
> > Thanks
> >
> > Mike

>
> Yes, to create a JFS filesystem, you also need a JFS log, by default
> if there isn't one on the VG, the system will attempt to create one of
> 1 PP the first time you create a filesystem, so you need to:
> rmlv lv00
> recreate the LV with 247 PP's and then create the filesystem.
>
> Steve



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com