Error encountered in creating a filesystem


 
Thread Tools Search this Thread
Operating Systems AIX Error encountered in creating a filesystem
# 1  
Old 05-18-2011
Data Error encountered in creating a filesystem

Hi experts,

Need help on the below error please.
I am creating Filesystem and it fails with the below errors Smilie
Code:
Command: failed        stdout: yes           stderr: no
Before command completion, additional instructions may appear below.
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.
0516-1734 mklv: Warning, savebase failed.  Please manually run 'savebase' before rebooting.
logform: getattr failed: No such file or directory
logform: lvname:loglv00, conferrno:6
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 loglv00 is removed.
0516-1734 rmlv: Warning, savebase failed.  Please manually run 'savebase' before rebooting.

Moderator's Comments:
Mod Comment Please use [code] and [/code] tags when posting code, data or logs etc. to preserve formatting and enhance readability, thanks. Also please refrain from writing subject completely in upper case letters to get more attention, thanks.

Last edited by zaxxon; 05-18-2011 at 02:50 AM.. Reason: code tags and subject
# 2  
Old 05-18-2011
What exactly did you select in smit (can check smit.script and smit.log for the issued commands)?
What OS level is it (oslevel -s? Seems there is problems reading and writing to the ODM. No clue why it talks about the TCB.

Did it work ever before? If yes, what has been changed on the system?

Just to make sure it is not some effect of Secure by Default (available from AIX 6.1 or higher) - could you also post the output of
Code:
odmget -q "attribute like SbD_STATE" PdAt

if there is any? Thanks.

Last edited by zaxxon; 05-18-2011 at 03:20 AM.. Reason: Merging posts because I thought replying to my own post would update my original post as it did once
# 3  
Old 05-18-2011
Quote:
Originally Posted by zaxxon
What exactly did you select in smit (can check smit.script and smit.log for the issued commands)?
What OS level is it (oslevel -s? Seems there is problems reading and writing to the ODM. No clue why it talks about the TCB.

Did it work ever before? If yes, what has been changed on the system?

Just to make sure it is not some effect of Secure by Default (available from AIX 6.1 or higher) - could you also post the output of
Code:
odmget -q "attribute like SbD_STATE" PdAt

if there is any? Thanks.


Hi zaxxon,

Code:
 
#  oslevel -s
6100-04-04-1014

Code:
 
#  odmget -q "attribute like SbD_STATE" PdAt
0518-506 odmget: Cannot open object class PdAt
        Check path name and permissions.

but if i am a single user, i can see the details below

Code:
 
$ odmget -q "attribute like SbD_STATE" PdAt
PdAt:
        uniquetype = ""
        attribute = "SbD_STATE"
        deflt = "sbd_disabled"
        values = ""
        width = ""
        type = ""
        generic = ""
        rep = ""
        nls_index = 0

-Rhea-

Last edited by EngnrRG; 05-27-2011 at 01:31 AM.. Reason: remove host
# 4  
Old 05-18-2011
Ok, at least it is no Secure by Default installation. On the other hand for some reason your root user is not able to access the ODM while another simple user can.
Looks like some strange permission problem. Is there any permissions being set with RBAC?

What about the other questions I asked? Smilie :
Did it work ever before? If yes, what has been changed on the system?
# 5  
Old 05-18-2011
No, I just actually built it a few days ago...i am just creating the FS today... Smilie
I didnt change any configurations on the systems...

and i was just checking

Code:
 
#  bootlist -m normal -o
-
-
-
-

doesnt show the bootlist...
# 6  
Old 05-18-2011
That's not good.

Issue following please:
Code:
lsvg rootvg

lsvg -l rootvg

lspv| grep rootvg

for a in $(lspv| awk '/rootvg/ {print $1}'); do lsdev -Ccdisk -l $a; done

ls -la /etc/objrepos

# 7  
Old 05-18-2011
Code:
#  lsvg rootvg
VOLUME GROUP:       rootvg                   VG IDENTIFIER:  00ca12b400004c000000012fba411559
VG STATE:           active                   PP SIZE:        64 megabyte(s)
VG PERMISSION:      read/write               TOTAL PPs:      555 (35520 megabytes)
MAX LVs:            256                      FREE PPs:       345 (22080 megabytes)
LVs:                12                       USED PPs:       210 (13440 megabytes)
OPEN LVs:           11                       QUORUM:         2 (Enabled)
TOTAL PVs:          1                        VG DESCRIPTORS: 2
STALE PVs:          0                        STALE PPs:      0
ACTIVE PVs:         1                        AUTO ON:        yes
MAX PPs per VG:     32512                                     
MAX PPs per PV:     1016                     MAX PVs:        32
LTG size (Dynamic): 256 kilobyte(s)          AUTO SYNC:      no
HOT SPARE:          no                       BB POLICY:      relocatable

Code:
#  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     32      32      1    open/syncd    N/A
hd8                 jfs2log    1       1       1    open/syncd    N/A
hd4                 jfs2       2       2       1    open/syncd    /
hd2                 jfs2       32      32      1    open/syncd    /usr
hd9var              jfs2       32      32      1    open/syncd    /var
hd3                 jfs2       32      32      1    open/syncd    /tmp
hd1                 jfs2       32      32      1    open/syncd    /lhome
hd10opt             jfs2       32      32      1    open/syncd    /opt
hd11admin           jfs2       2       2       1    open/syncd    /admin
livedump            jfs2       4       4       1    open/syncd    /var/adm/ras/livedump
lg_dumplv           sysdump    8       8       1    open/syncd    N/A

Code:
#  lspv| grep rootvg
hdisk0          00ca12b4bfaf3bbf                    rootvg          active

Code:
 #  for a in $(lspv| awk '/rootvg/ {print $1}'); do lsdev -Ccdisk -l $a; done
hdisk0 Available  Virtual SCSI Disk Drive

Code:
#  ls -la /etc/objrepos
total 2328
drwxrwxr-x    2 root     system         4096 May  4 20:19 .
drwxr-xr-x   30 root     system         8192 May 18 10:22 ..
-rw-r--r--    1 bin      bin            4096 May  4 10:24 ATM_PVC
-rw-r--r--    1 root     system         4096 May  4 11:23 CDiagAtt
-rw-r--r--    1 root     system         4096 May  4 11:23 CDiagAtt.vc
-rw-r--r--    1 root     system         4096 May  4 10:06 CDiagDev
-rw-r--r--    1 root     system        16384 May  4 11:19 Config_Rules
-rw-r--r--    1 root     system        12288 May 18 06:41 CuAt
-rw-r--r--    1 root     system         4096 May 18 06:41 CuAt.vc
-rw-------    1 root     system         4096 May  4 11:22 CuData
-rw-------    1 root     system         4096 May  4 11:22 CuData.vc
-rw-r--r--    1 root     system         4096 May 18 06:41 CuDep
-rw-r--r--    1 root     system         8192 May 18 06:41 CuDv
-rw-r--r--    1 root     system        32768 May 18 06:41 CuDvDr
-rw-r--r--    1 root     system         4096 May  4 11:22 CuPath
-rw-r--r--    1 root     system         4096 May  4 11:22 CuPath.vc
-rw-r--r--    1 root     system         4096 May  4 11:22 CuPathAt
-rw-r--r--    1 root     system         4096 May  4 11:22 CuPathAt.vc
-rw-r--r--    1 root     system         8192 May  4 11:22 CuVPD
-rw-r--r--    1 root     system         4096 May  4 11:22 CuWxt
-rw-r--r--    1 root     system         4096 May  4 10:06 DAVars
lrwxrwxrwx    1 root     system           28 May  4 10:07 DSMOptions -> /usr/lib/objrepos/DSMOptions
lrwxrwxrwx    1 root     system           31 May  4 10:07 DSMOptions.vc -> /usr/lib/objrepos/DSMOptions.vc
lrwxrwxrwx    1 root     system           24 May  4 10:07 DSMenu -> /usr/lib/objrepos/DSMenu
-rw-r--r--    1 root     system         4096 May  4 10:06 FRUB
-rw-r--r--    1 root     system         4096 May  4 10:06 FRUB_SRC
-rw-r--r--    1 root     system         4096 May  4 10:06 FRUs
-rw-r--r--    1 root     system         4096 May  4 10:06 FRUs_src
-rw-r--r--    1 root     system         4096 May  4 10:06 MenuGoal
lrwxrwxrwx    1 root     system           26 May  4 10:07 PDiagAtt -> /usr/lib/objrepos/PDiagAtt
lrwxrwxrwx    1 root     system           29 May  4 10:07 PDiagAtt.vc -> /usr/lib/objrepos/PDiagAtt.vc
lrwxrwxrwx    1 root     system           26 May  4 10:07 PDiagDev -> /usr/lib/objrepos/PDiagDev
lrwxrwxrwx    1 root     system           29 May  4 10:07 PDiagDev.vc -> /usr/lib/objrepos/PDiagDev.vc
lrwxrwxrwx    1 root     system           26 May  4 10:07 PDiagRes -> /usr/lib/objrepos/PDiagRes
lrwxrwxrwx    1 root     system           29 May  4 10:07 PDiagRes.vc -> /usr/lib/objrepos/PDiagRes.vc
lrwxrwxrwx    1 root     system           27 May  4 10:07 PDiagTask -> /usr/lib/objrepos/PDiagTask
lrwxrwxrwx    1 root     system           30 May  4 10:07 PDiagTask.vc -> /usr/lib/objrepos/PDiagTask.vc
lrwxrwxrwx    1 root     system           22 May  4 10:07 PdAt -> /usr/lib/objrepos/PdAt
lrwxrwxrwx    1 root     system           25 May  4 10:07 PdAt.vc -> /usr/lib/objrepos/PdAt.vc
lrwxrwxrwx    1 root     system           25 May  4 10:07 PdAtXtd -> /usr/lib/objrepos/PdAtXtd
lrwxrwxrwx    1 root     system           28 May  4 10:07 PdAtXtd.vc -> /usr/lib/objrepos/PdAtXtd.vc
lrwxrwxrwx    1 root     system           22 May  4 10:07 PdCn -> /usr/lib/objrepos/PdCn
lrwxrwxrwx    1 root     system           22 May  4 10:07 PdDv -> /usr/lib/objrepos/PdDv
lrwxrwxrwx    1 root     system           25 May  4 10:07 PdDv.vc -> /usr/lib/objrepos/PdDv.vc
lrwxrwxrwx    1 root     system           26 May  4 10:07 PdPathAt -> /usr/lib/objrepos/PdPathAt
lrwxrwxrwx    1 root     system           29 May  4 10:07 PdPathAt.vc -> /usr/lib/objrepos/PdPathAt.vc
-rw-rw-r--    1 root     system         4096 May  4 10:06 SRCextmeth
-rw-rw-r--    1 root     system         4096 May  4 10:52 SRCnotify
-r--r--r--    1 root     system            0 May  4 10:16 SRCodmlock
-rw-rw-r--    1 root     system         4096 May  4 10:52 SRCsubsvr
-rw-rw-r--    1 root     system       380928 May  4 11:22 SRCsubsys
-rw-rw-r--    1 root     system        12288 May  4 11:23 SWservAt
-rw-rw-r--    1 root     system        16384 May  4 11:23 SWservAt.vc
-rw-r--r--    1 root     system         4096 May  4 10:06 TMInput
-r--r--r--    1 root     system            0 May  4 10:07 config_lock
lrwxrwxrwx    1 root     system           31 May  4 10:25 crypto_module -> /usr/lib/objrepos/crypto_module
lrwxrwxrwx    1 root     system           34 May  4 10:25 crypto_module.vc -> /usr/lib/objrepos/crypto_module.vc
-rw-rw-r--    1 root     system        20480 May  4 11:22 errnotify
-rw-rw-r--    1 root     system        57344 May 12 10:37 history
-rw-rw-r--    1 root     system         4096 May 12 10:37 history.vc
-rw-rw-r--    1 root     system       278528 May  4 11:19 inventory
-rw-rw-r--    1 root     system         4096 May  4 11:19 inventory.vc
-rw-rw-r--    1 root     system        53248 May 12 10:37 lpp
-rw-rw-r--    1 root     system        12288 May 12 10:37 lpp.vc
-rw-rw-r--    1 root     system        90112 May 12 10:37 product
-rw-rw-r--    1 root     system        57344 May 12 10:37 product.vc
-rw-rw-r--    1 root     system         4096 May  4 20:19 usilc
-rw-rw-r--    1 root     system         4096 May  4 20:19 usilc.vc

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