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]#
Jason YuAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jason YuAuthor Commented:
[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]#
tfewsterCommented:
It may be a silly question, but does this old system actually use LVM? Please post the output of `df -k`
Jason YuAuthor Commented:
[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]#
Acronis True Image 2019 just released!

Create a reliable backup. Make sure you always have dependable copies of your data so you can restore your entire system or individual files.

Rainer FranzelTechnical ConsultantCommented:
tfewster: right guess :)

you don't have LVM in place. Your disk is partitioned and on these partitions filesystems were created.
Check with
fdisk -l /dev/sda or
fdisk -l /dev/sdb

With some effort you can copy your data to a new LVM managed disk (aka Logical Volume).

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Gerwin Jansen, EE MVETopic Advisor Commented:
How do you know that disks are full? The partitions that are shown are not full at all. Is there some application that gave an error and if so what is it?
Jason YuAuthor Commented:
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

tfewsterCommented:
Sure, you have plenty of free physical space, so either set Autoextend ON or increase the database size manually. I expect it's an Oracle FAQ, so a web search for oracle tips should turn up plenty of good material. Or delete this question and ask a new one with appropriate database-type keywords if you need a deeper analysis of your existing setup
Jason YuAuthor Commented:
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.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.