Link to home
Start Free TrialLog in
Avatar of Jason Yu
Jason YuFlag for United States of America

asked on

cannot use vgdisplay to check free space in a volume group

Hi, Experts:

I have an old linux with a mixmized out disk. I want to expand the disks but got the following error. Could someone help me resolve this error?

Thanks.


[jasony@lom-oraprd-02 jasony]$ su -
Password:
[root@lom-oraprd-02 root]# vgdisplay
vgdisplay -- ERROR: "/etc/lvmtab" doesn't exist or is unreadable; you may need to run vgscan

[root@lom-oraprd-02 root]# cat /etc/*-release
LSB_VERSION="1.3"
Red Hat Enterprise Linux ES release 3 (Taroon Update 6)
[root@lom-oraprd-02 root]# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group

[root@lom-oraprd-02 root]#
Avatar of Jason Yu
Jason Yu
Flag of United States of America image

ASKER

[root@lom-oraprd-02 root]# vgdisplay
vgdisplay -- no volume groups found

[root@lom-oraprd-02 root]# lvdisplay
lvdisplay -- please enter a logical volume path

[root@lom-oraprd-02 root]#
SOLUTION
Avatar of tfewster
tfewster
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
[root@lom-oraprd-01 root]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3              93G   64G   25G  73% /
/dev/sda1              99M   15M   79M  16% /boot
none                  2.0G     0  2.0G   0% /dev/shm
/dev/sdb1              10G   76M   10G   1% /u02/oradata/crsdata
[root@lom-oraprd-01 root]#
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I have received this email prompting me that the +DATA01 tablespace file is full. Is there a way I can expand this table space file.

it is oracle 10 g database.


TABLESPACE_NAME       FILE_NAME                                                     ALLOCATED_MB     FREE_MB   PCNT_USED
--------------------  ------------------------------------------------------------  ------------  ----------  ----------
SYSAUX                +DATA01/solprd/datafile/sysaux.265.798065143                           950      61.125        93.6
SYSAUX                +RCOV01/solprd/datafile/sysaux.626.845462289                           110          16        85.5                ---------this one
SYSTEM                +DATA01/solprd/datafile/system.280.798065139                           460      8.3125        98.2    -------This one
SYSTEM                +RCOV01/solprd/datafile/system.273.889087843                           200    199.9375           0
TESUITE_PROD          +DATA01/solprd/datafile/tesuite_prod.271.800136785                    2048    216.9375        89.4
TESUITE_PROD          +DATA01/solprd/datafile/tesuite_prod.274.800136811                    2048    110.9375        94.6   -------This one
TESUITE_PROD          +DATA01/solprd/datafile/tesuite_prod.276.800136805                    2048    308.0625          85
TESUITE_PROD          +DATA01/solprd/datafile/tesuite_prod.277.800136799                    2048    277.9375        86.4
TESUITE_PROD          +DATA01/solprd/datafile/tesuite_prod.278.800136793                    2048    252.9375        87.6
TINSIGHT              +DATA01/solprd/datafile/tinsight.270.798122171                         200       81.75        59.1
TSURVEYREPORTRESULTS  +DATA01/solprd/datafile/tsurveyreportresults.293.800136717            1100       22.25          98   -------This one
TSURVEYREPORTRESULTS  +RCOV01/solprd/datafile/tsurveyreportresults.465.878901889             200    150.9375        24.5
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.257.800137025               4096       1.375         100
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.258.800137011               4096      3.9375        99.9
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.259.825662971               4096           2         100     --------------this one
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.273.800136933               4096      5.9375        99.9  -------This one
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.282.800137065               4096      3.9375        99.9  -------This one
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.283.800137051               4096      3.9375        99.9   -------This one
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.285.800137039               4096      3.9375        99.9  -------This one
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.288.800136999               4096      3.9375        99.9   -------This one
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.289.800136985               4096      5.9375        99.9  -------This one
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.290.800136973               4096       .9375         100       -------This one
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.291.800136959               4096           5        99.9  -------This one
TSURVEYREPOSITORY     +DATA01/solprd/datafile/tsurveyrepository.292.800136947               4096      6.0625        99.9-------This one
TSURVEYREPOSITORY     +RCOV01/solprd/datafile/tsurveyrepository.491.885014557               1024      6.9375        99.3-------This one
TSURVEYREPOSITORY     +RCOV01/solprd/datafile/tsurveyrepository.659.876681481               4096   1449.9375        64.6
TSURVEYREPOSITORY     +RCOV01/solprd/datafile/tsurveyrepository.665.889089417               1024    399.9375        60.9
TSURVEYREPOSITORY     +RCOV01/solprd/datafile/tsurveyrepository.892.845849731               8192     23.9375        99.7-------This one
UNDOTBS1              +DATA01/solprd/datafile/undotbs1.281.798065143                        2730      2.8125        99.9-------This one
UNDOTBS1              +RCOV01/solprd/datafile/undotbs1.902.843765309                         500     435.875        12.8
UNDOTBS2              +DATA01/solprd/datafile/undotbs2.287.798065145                        2660   2633.8125           1
UNDOTBS3              +RCOV01/solprd/datafile/undotbs3.527.843766823                        1024         923         9.9
USERS                 +DATA01/solprd/datafile/users.286.798065147                           1024   1023.9375           0

Open in new window

SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thank you, all these posts are helpful for me. I appreciate.

I will open another post in Oracle database field and learn the steps to change the "autoextend" parameter.

Thanks.