Error encountered in creating a filesystem


 
Thread Tools Search this Thread
Operating Systems AIX Error encountered in creating a filesystem
# 8  
Old 05-18-2011
Ok, so your rootvg looks intact, and it is placed on a virtual disk, I guess being supplied by a Virtual I/O Server (VIOS). Also your ODM files are there, which is a good sign but must be the case anyway, since the other user was able to retrieve information from it.

You didn't write yet, what smit.log and smit.script contained when you issued the failing option from SMIT.

Try if the following works as root:
Code:
bootlist -m normal hdisk0
bosboot -ad /dev/hdisk0

If you have additional boot devices but hdisk0 add them seprated by spaces to the bootlist command.
Post any error messages from the commands.

Try following:
Code:
root@somehost:/> mklv -c1 -tjfs2 -y lvtest rootvg 1
lvtest
root@somehost:/> crfs -vjfs2 -d /dev/lvtest -m /test
File system created successfully.
130864 kilobytes total disk space.
New File System size is 262144
root@somehost:/> mount /test
root@somehost:/> df /test
Filesystem    1024-blocks      Used      Free %Used    Iused    Ifree %Iused Mounted on
/dev/lvtest        131072       348    130724    1%        4    29077     1% /test
root@somehost:/> touch /test/bla
root@somehost:/> ls -la /test
total 8
drwxr-xr-x    3 root     system          256 May 18 12:38 .
drwxr-xr-x   33 root     system         4096 Mar 26 16:35 ..
-rw-r--r--    1 root     system            0 May 18 12:38 bla
drwxr-xr-x    2 root     system          256 May 18 12:38 lost+found
root@somehost:/> umount /test
root@somehost:/> rmfs /test
rmlv: Logical volume lvtest is removed.

Post any error messages as well.

Don't forget to use code tags Smilie
# 9  
Old 05-18-2011
Code:
#  bootlist -m normal -o
-
-
-
-
 
#  bosboot -ad /dev/hdisk0
bosboot: Boot image is 42994 512 byte blocks.


Code:
#  mklv -c1 -tjfs2 -y lvtest rootvg 1
0518-506 odmget: Cannot open object class PdAt
        Check path name and permissions.
3001-101 The Trusted Computing Base is not enabled on this machine.
        To enable the Trusted Computing Base, you must reinstall and
        set the 'Install Trusted Computing Base' option to YES.
        No checking is being performed.
Code:
lvtest
0516-1734 mklv: Warning, savebase failed. Please manually run 'savebase' before rebooting. #

thats the exact error when i create lv as well, but even though got error, lv was created...

while creating FS, (below) the odm error is not there already...

Code:
#  crfs -vjfs2 -d /dev/lvtest -m /test
File system created successfully.
65328 kilobytes total disk space.
New File System size is 131072
0516-1734 chlv: Warning, savebase failed.  Please manually run 'savebase' before rebooting.

---------- Post updated at 06:05 AM ---------- Previous update was at 05:58 AM ----------

Heres the continuation as i forgot to mount the fs

Code:
#  mount /test
df /test
Filesystem    512-blocks      Free %Used    Iused %Iused Mounted on
/dev/lvtest       131072    130392    1%        4     1% /test
/rr57104 RC=0 [IDENbuild] root@fdcicgoptaa01c#  touch /test/bla
/rr57104 RC=0 [IDENbuild] root@fdcicgoptaa01c#  ls -la /test
total 8
drwxr-xr-x    3 root     system          256 May 18 12:03 .
drwxr-xr-x   23 root     system         4096 May 18 11:56 ..
-rw-r--r--    1 root     system            0 May 18 12:03 bla
drwxr-xr-x    2 root     system          256 May 18 11:56 lost+found
#  umount /test
#  rmfs /test
0518-506 odmget: Cannot open object class PdAt
        Check path name and permissions.
0518-506 odmget: Cannot open object class SWservAt
        Check path name and permissions.
0518-506 odmget: Cannot open object class SWservAt
        Check path name and permissions.
3001-101 The Trusted Computing Base is not enabled on this machine.
        To enable the Trusted Computing Base, you must reinstall and
        set the 'Install Trusted Computing Base' option to YES.
        No checking is being performed.
rmlv: Logical volume lvtest is removed.
0516-1734 rmlv: Warning, savebase failed.  Please manually run 'savebase' before rebooting.

the error appears again on removng lv

Last edited by EngnrRG; 05-27-2011 at 01:23 AM.. Reason: removed host
# 10  
Old 05-18-2011
I meant you to write the bootlist, not just show it. Nevermind I think I know what is wrong:
In the environment of root there is ODMDIR=/etc/objrepos missing. I don't know how this could happen, but you should assure, that you have following entry in /etc/environment:
Code:
ODMDIR=/etc/objrepos

After this root should be able to do the things you want to do. Don't forget to write your bootlist:
Code:
bootlist -m normal hdisk0
savebase

This User Gave Thanks to zaxxon For This Post:
# 11  
Old 05-18-2011
Great...

I works now...The error is totally gone...

Many Thanks Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Creating filesystem in LDOMs

Hi, I have a task of creating a UFS filesystem in an LDOM. It is located in a hypervisor (CDOM). The storage has been provisioned to the CDOM. How do I make it reflect to the LDOM, and then from there configure/set up the filesystem in the LDOM? Please help. (1 Reply)
Discussion started by: anaigini45
1 Replies

2. Shell Programming and Scripting

Notify as soon as an error is encountered in a script

Hi, The script below works okay and emails me the log in the end once the script completes but what I'm trying to do is to also notify me via an email as soon as the script encounters any error whatsoever. cat test.list hdisk0 00a6351a2c832da1 rootvg ... (7 Replies)
Discussion started by: mbak
7 Replies

3. AIX

Process using/creating files in the filesystem

Hello Team, In a application filesystem, there is a process keep creating the log files. Due to that the filesystem keep getting full. Please let me know how to identify the process which is keep writing in the filesystem. fuser -u <FS> will show only the user who using the filesystem.... (3 Replies)
Discussion started by: gowthamakanthan
3 Replies

4. Shell Programming and Scripting

awk - continue when encountered division error

Hello, How can I add a logic to awk to tell it to print 0 when encountering a division by zero attempted? Below is the code. Everything in the code works fine except the piece that I want to calculate read/write IO size. I take the kbr / rs and kbw / ws. There are times when the iostat data... (5 Replies)
Discussion started by: tommyd
5 Replies

5. Linux

Creating Filesystem using DD for LVM

I created a new filesystem using dd and mounted: I have a filesystem /FAW with 1Terra space /dev/sdb1 1151331444 24742604 1068104612 3% /FAW Steps I followed to create a new filesystem # dd if=/dev/zero of=/FAW/vms/linux_vm/disk2.img bs=1 count=1024 seek=500G # mke2fs... (10 Replies)
Discussion started by: sriram003
10 Replies

6. Red Hat

Creating filesystem on new LUN

I'm new to linux and need information on how do I create a filesytem on a dedicated on LUN for RHEL 4 and 5? I want the filesystem to be a ext3 ---------- Post updated at 10:00 AM ---------- Previous update was at 08:56 AM ---------- Found the answer. This thread can be closed. (1 Reply)
Discussion started by: soupbone38
1 Replies

7. Filesystems, Disks and Memory

Creating filesystem of 2MB size

Hi all, I would like to ask on how to create 2MB partition on a Compact Flash card. It supposed to be of FAT12 type, and the CF capacity is 4GB. I try to do the partitioning and specify the size as 2MB but the partition editor automatically resize it to 8MB. I know that this is possible and the... (4 Replies)
Discussion started by: archayl
4 Replies

8. Solaris

creating new filesystem

# df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1d0s0 4.5G 4.3G 129M 98% / /devices 0K 0K 0K 0% /devices ctfs 0K 0K 0K 0% /system/contract proc 0K 0K ... (4 Replies)
Discussion started by: seyiisq
4 Replies

9. AIX

Creating a shared filesystem

Hi everybody, Is it possible to create a Shared Filesystem on Network to be accessed from 2 Systems? Both systems are AIX but with different versions. One of these systems is AIX 4.3 & the other is AIX 5.2. Thanks in advanced (8 Replies)
Discussion started by: aldowsary
8 Replies

10. UNIX Benchmarks

Encountered error!

I used this on an AIX machine and encountered the following error. $ ls -l total 600 -rwxrwxrwx 1 e26936 dba 1491 Feb 07 1992 MANIFEST -rwxrwxrwx 1 e26936 dba 8148 Apr 05 1992 Makefile -rwxrwxrwx 1 e26936 dba 4852 Sep 06 2003 README -rwxrwxrwx... (0 Replies)
Discussion started by: puspendu
0 Replies
Login or Register to Ask a Question