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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 |
| |||
| 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. |
| |||
| "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 |
| ||||
| 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 |