Sponsored Content
Full Discussion: RedHat LVM Error
Operating Systems Linux Red Hat RedHat LVM Error Post 303031730 by DOkuwa on Tuesday 5th of March 2019 02:14:27 AM
Old 03-05-2019
Code:
root@NRCADR IMDataRepository_vertica9]# vgs
  VG   #PV #LV #SN Attr   VSize  VFree
  rhel   1   5   0 wz--n- 58.00g 4.00m

*******************************************************************************************
*******************************************************************************************

[root@NRCADR IMDataRepository_vertica9]# fdisk -l

Disk /dev/sda: 68.7 GB, 68719476736 bytes, 134217728 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000b45d6

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048     2099199     1048576   83  Linux
/dev/sda2         2099200   123748351    60824576   8e  Linux LVM

Disk /dev/mapper/rhel-root: 17.2 GB, 17179869184 bytes, 33554432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/rhel-swap: 2147 MB, 2147483648 bytes, 4194304 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/rhel-home: 17.2 GB, 17179869184 bytes, 33554432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/rhel-var: 17.2 GB, 17179869184 bytes, 33554432 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes


Disk /dev/mapper/rhel-tmp: 8589 MB, 8589934592 bytes, 16777216 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes

*******************************************************************************************
*******************************************************************************************

[root@NRCADR IMDataRepository_vertica9]# lvs
  LV   VG   Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  home rhel -wi-ao---- 16.00g
  root rhel -wi-ao---- 16.00g
  swap rhel -wi-ao----  2.00g
  tmp  rhel -wi-ao----  8.00g
  var  rhel -wi-ao---- 16.00g

*******************************************************************************************
*******************************************************************************************

[root@NRCADR IMDataRepository_vertica9]# df -h
Filesystem             Size  Used Avail Use% Mounted on
/dev/mapper/rhel-root   16G  8.1G  6.8G  55% /
devtmpfs               5.8G     0  5.8G   0% /dev
tmpfs                  5.8G   88K  5.8G   1% /dev/shm
tmpfs                  5.8G   17M  5.8G   1% /run
tmpfs                  5.8G     0  5.8G   0% /sys/fs/cgroup
/dev/sda1              976M  143M  767M  16% /boot
/dev/mapper/rhel-tmp   7.8G  1.1G  6.4G  14% /tmp
/dev/mapper/rhel-var    16G  543M   15G   4% /var
/dev/mapper/rhel-home   16G   45M   15G   1% /home
tmpfs                  1.2G   36K  1.2G   1% /run/user/0
/dev/sr0               3.6G  3.6G     0 100% /run/media/root/RHEL-7.3 Server.x86_64

*******************************************************************************************
*******************************************************************************************

[root@NRCADR IMDataRepository_vertica9]# file -sL /dev/mapper/rhel-root
/dev/mapper/rhel-root: Linux rev 1.0 ext4 filesystem data, UUID=709c82ab-9f8b-41e4-a4d0-e81c74c1a66b (needs journal recovery) (extents) (64bit) (large files) (huge files)

thanks
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mysql installation error using redhat 7.2

i am a newbie to unix admin stuff so bare with me. -- i get this message when executing mysql_install_db during the installation of mysql. what is the cause of this and how can it be fixed. btw - i have tried installing as root and other accounts also. scripts/mysql_install_db:... (6 Replies)
Discussion started by: theDirtiest
6 Replies

2. UNIX for Dummies Questions & Answers

LyX-1.4.3 compiler error on redhat-7.3

Hi There, I'm trying to install LyX 1.4.3 on a machine running Redhat 7.3. I can't upgrade the OS since I don't have root, but I've been given permission to install sw into pkgs by the Sys Admins. ./configure using the Qt frontend worked, but when I then enter make I get: make: Entering... (3 Replies)
Discussion started by: dirgni
3 Replies

3. Red Hat

Dns configuration error in Redhat

Dear All I want to configure DNS in redhat linux. i am following these steps but when i restart the services it is showing status failed. Please any body can help me on urgent basis. #service named restart Stopping named: Starting named: ---------Edited in named.conf... (2 Replies)
Discussion started by: sahu.tapan
2 Replies

4. HP-UX

How to reduce LVM to create another LVM

Hi, I'm new to HP-UX. I have LVM on /var with 92Gig. I would like to reduce it to create another LVM for Oracle client with 800 meg or so. How to do it. I'm running 11.iv3 Thanks (4 Replies)
Discussion started by: lamoul
4 Replies

5. Red Hat

Error restarting autofs in RedHat

Hi Expert, I am trying to restart automount as it's consume much CPU. Tasks: 2392 total, 7 running, 2352 sleeping, 25 stopped, 8 zombie Cpu(s): 9.3% us, 28.5% sy, 0.0% ni, 61.5% id, 0.2% wa, 0.2% hi, 0.2% si Mem: 15799928k total, 11029764k used, 4770164k free, 162424k buffers Swap: 22773752k... (2 Replies)
Discussion started by: regmaster
2 Replies

6. Red Hat

Redhat cluster error

hi all , I'm trying for the Red-hat cluster setup with the ' Enable shared storage support'. But hang up with a error that "Packages of set "Clustered Storage" are not present in any available repository". I made this setup by installing the rpm manually..I ve attached the rpm list and error... (0 Replies)
Discussion started by: sriniv666
0 Replies

7. UNIX for Dummies Questions & Answers

How to convert non LVM root partition to LVM?

Hi Guys, I m using redhat 6, I have installed root partition as non-LVM . Is there any way i can convert it to LVM? (1 Reply)
Discussion started by: pinga123
1 Replies

8. UNIX for Dummies Questions & Answers

check 1 lvm for error

i have several lv (data , data1 , data2) under same volume group, i just want to test 1 lv for data errors is that possible? this test all sdc disk , but i just want to test lv_data smartctl -a /dev/sdc because lv_data2 is corrupt , but i don't know if this lv uses sdc disk (1 Reply)
Discussion started by: prpkrk
1 Replies

9. UNIX for Advanced & Expert Users

Sort command results are different in Redhat 4 vs Redhat 5

Hi, I am having a text file with the following contents ########### File1 ########### some page1.txt text page.txt When I sort this file on Red Hat 5, then I get the following output ########### File1 ########### page1.txt page.txt some (3 Replies)
Discussion started by: sarbjit
3 Replies

10. Red Hat

Redhat Linux xinetd error

Dear all, I am reciving the following error in the /var/log/messages of my system Jul 18 11:14:27 airtest xinetd: START: echo-dgram pid=0 from=::ffff:XX.XX.XX.X Jul 18 11:14:27 airtest xinetd: START: echo-dgram pid=0 from=::ffff:XX.XX.XX.X Jul 18 11:19:17 airtest xinetd: START: echo-dgram... (1 Reply)
Discussion started by: pistachio
1 Replies
VGREDUCE(8)						      System Manager's Manual						       VGREDUCE(8)

NAME
vgreduce - reduce a volume group SYNOPSIS
vgreduce [-a|--all] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--removemissing] [-t|--test] [-v|--verbose] VolumeGroupName [Physi- calVolumePath...] DESCRIPTION
vgreduce allows you to remove one or more unused physical volumes from a volume group. OPTIONS
See lvm for common options. -a, --all Removes all empty physical volumes if none are given on command line. --removemissing Removes all missing physical volumes from the volume group, if there are no logical volumes allocated on those. This resumes normal operation of the volume group (new logical volumes may again be created, changed and so on). If this is not possible (there are logical volumes referencing the missing physical volumes) and you cannot or do not want to remove them manually, you can run this option with --force to have vgreduce remove any partial LVs. Any logical volumes and dependent snapshots that were partly on the missing disks get removed completely. This includes those parts that lie on disks that are still present. If your logical volumes spanned several disks including the ones that are lost, you might want to try to salvage data first by acti- vating your logical volumes with --partial as described in lvm (8). SEE ALSO
lvm(8), vgextend(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGREDUCE(8)
All times are GMT -4. The time now is 05:45 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy