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
NEWFS_EXFAT(8)						    BSD System Manager's Manual 					    NEWFS_EXFAT(8)

NAME
newfs_exfat -- construct a new ExFAT file system SYNOPSIS
newfs_exfat [-N] [-R] [-I volume-serial-number] [-S bytes-per-sector] [-a sectors-per-FAT] [-b bytes-per-cluster] [-c sectors-per-cluster] [-n number-of-FATs] [-s total-sectors] [-v volume-name] special DESCRIPTION
The newfs_exfat utility creates an ExFAT file system on device special. If the -R option is not given, and the device is already formatted as ExFAT, it will preserve the partition offset, bytes per cluster, FAT offset and size, number of FATs, offset to start of clusters, number of clusters, volume serial number, and volume name (label). If a volume name was specified via the -v option, that name is used instead of the volume's previous name. The options are as follow: -N Don't create a file system: just print out parameters. -R Do not check whether the device is currently formatted as ExFAT. Always derive the partition offset, bytes per cluster, FAT offset and size, and offset to start of clusters based on the device type and size. -I volume-serial-number Volume ID, a 32-bit integer. -S bytes-per-sector Number of bytes per sector. Acceptable values are powers of 2 in the range 512 through 4096. -a sectors-per-FAT Number of sectors per FAT. -b bytes-per-cluster File system block size (bytes per cluster). Acceptable values are powers of 2 in the range 512 through 33554432. -c sectors-per-cluster Sectors per cluster. Acceptable values are powers of 2 in the range 1 through 65536. -n number-of-FATs Number of FATs. Acceptable values are 1 or 2. The default is 1. Using any value other than 1 is discouraged, and may be incompati- ble with other devices. -s total-sectors The total number of sectors in the device. -v volume-name Volume name (label). The name will be converted to UTF-16, and must be no longer than 11 UTF-16 characters. ASCII control charac- ters and some punctuation characters are not allowed (similar to DOS 8.3-style names). NOTE: The volume name may be an empty (zero- length) string. EXAMPLES
newfs_exfat /dev/disk0s1 Create a file system, using default parameters (or existing ExFAT layout), on /dev/rdisk0s1. newfs_exfat -v Hello disk2s1 Create a file system with the name "Hello" on /dev/rdisk2s1. SEE ALSO
mount_exfat(8), fsck_exfat(8) DIAGNOSTICS
Exit status is 0 on success and 1 on error. HISTORY
The newfs_exfat command appeared in Mac OS X 10.6.3. Darwin January 19, 2010 Darwin
All times are GMT -4. The time now is 11:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy