Sponsored Content
Operating Systems Linux Red Hat Pvcreate can't open /dev/xvda2 exclusively mounted filesystem Post 302972980 by Aia on Thursday 12th of May 2016 11:05:46 AM
Old 05-12-2016
Until now, I have taken the information you have posted at face value. To continue troubleshooting, some real and undoctored output from the system is necessary.

Please, post the output of the following commands:
Code:
lsblk
cat /proc/partitions
fdisk -l
df -h
mount
pvs


Last edited by Aia; 05-12-2016 at 12:11 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How can I tell if a filesystem is NFS mounted?

I would like to know if there is a command or set of commands that I can run to verify that there are no 'extraneous' nfs mounted filesystems on our server. I didn't see anything in doing a search on NFS. We think that we may have some filesystems that are still nfs mounted when the link should... (3 Replies)
Discussion started by: giannicello
3 Replies

2. UNIX for Advanced & Expert Users

Mounted Root Filesystem

In my Solaris 10 based server, I have noticed the following mounts when a use DF -K /dev/dsk/c0t0d0s0 5062414 3213876 1797914 65% / / 5062414 3213876 1797914 65% /net/se420 I understand the first mount because it appears in my vfstab file and is the mount of root that I would expect.... (1 Reply)
Discussion started by: jimthompson
1 Replies

3. Shell Programming and Scripting

Testing if nfs filesystem is mounted

Hello, I have a backup script that backs up my system to a nfs mounted file system. The mount point on my local system is /backup. I want my script to check whether the nfs file system is mounted on /backup before actually backing anything up. Even if the nfs file system was NOT mounted,... (2 Replies)
Discussion started by: xadamz23
2 Replies

4. Solaris

Remote mount an already mounted nfs filesystem

Hello all, We're using JET to build our systems.. I'm in the process of needing to build a centrally located JET box with access to all our networks rather that 2 or 3 dotted around. Part of the means I need to locate the boot & OS images on an NFS mount (via NETAPP filer).. However in the... (1 Reply)
Discussion started by: itsupplies
1 Replies

5. UNIX for Dummies Questions & Answers

/ filesystem is mounted read only

how do you fsck the / filesystem? I know it does it automatically the next time I boot up following a switch on the wall shutdown but is there a flad somewhere that forces this on next boot up? Thanks (2 Replies)
Discussion started by: DGK
2 Replies

6. SuSE

can't open /dev/sda3 exclusively

Hi, please help!!! I'm installing an openSUSE 10.3 into a computer, after creating the following partitions: Primay Partition swap / LVM(volume manager) - /dev/sda3 /opt, /var, /tmp, /usr, /local when i tried to continue installing, after creating the partitions i am prompted with the... (2 Replies)
Discussion started by: etcpasswd
2 Replies

7. Shell Programming and Scripting

Check if NAS filesystem is mounted

Anyone know the best way to check and see if a NAS filesystem is mounted on a linux box. I have no idea where to start :wall:. (2 Replies)
Discussion started by: d3mon_spawn
2 Replies

8. Solaris

Have mounted a filesystem in /var and now cannot log in

hi, i might not be posting my question in the right place because i don't know where to post questions my question is like this i created a partition named 'var' in the SOLARIS os .,and then i knowingly mounted it on /var ..now after doing this am not able to login to my... (4 Replies)
Discussion started by: shekhar_4_u
4 Replies

9. AIX

Filesystem Mounted at the server

Hello Gurus, Can you please suggest what is the command of all the filesystems which are mounted at the server. Thanks- Pokhraj Das (1 Reply)
Discussion started by: pokhraj_d
1 Replies

10. UNIX for Advanced & Expert Users

Pvcreate can't open /dev/xvda2 exclusively mounted filesystem

I downloaded the oracle linux 6.7 from RHEL, I wanted to extend the storage for "/" from default 16GB to say 200GB. Here's the steps I tried is : 1. Init 1 2. Using “fdisk /dev/xvda” , delete the swap /dev/xvda3 as well as /dev/xvda2 3. Re-create /dev/xvda2 with linux LVM using new end blocks ... (1 Reply)
Discussion started by: alnhk
1 Replies
LSBLK(8)						       System Administration							  LSBLK(8)

NAME
lsblk - list block devices SYNOPSIS
lsblk [options] lsblk [options] device... DESCRIPTION
lsblk lists information about all or the specified block devices. The lsblk command reads the sysfs filesystem to gather information. The command prints all block devices (except RAM disks) in a tree-like format by default. Use lsblk --help to get a list of all available columns. OPTIONS
-a, --all List all block devices. -b, --bytes Print the SIZE column in bytes rather than in human-readable format. -d, --nodeps Don't print device holders or slaves. For example "lsblk --nodeps /dev/sda" prints information about the sda device only. -D, --discard Print information about the discard (TRIM, UNMAP) capabilities for each device. -e, --exclude list Exclude the devices specified by a comma-separated list of major device numbers. Note that RAM disks (major=1) are excluded by default. -f, --fs Output info about filesystems. This option is equivalent to "-o NAME,FSTYPE,LABEL,MOUNTPOINT". The authoritative information about filesystems and raids is provided by the blkid(8) command. -h, --help Print a help text and exit. -i, --ascii Use ASCII characters for tree formatting. -m, --perms Output info about device owner, group and mode. This option is equivalent to "-o NAME,SIZE,OWNER,GROUP,MODE". -l, --list Use the list output format. -n, --noheadings Do not print a header line. -o, --output list Specify which output columns to print. Use --help to get a list of all supported columns. -P, --pairs Use key="value" output format. -r, --raw Use the raw output format. -t, --topology Output info about block device topology. This option is equivalent to "-o NAME,ALIGNMENT,MIN-IO,OPT-IO,PHY-SEC,LOG-SEC,ROTA,SCHED". NOTES
For the partitions are some information (e.g. queue attributes) inherited from parental device. AUTHORS
Milan Broz <mbroz@redhat.com> Karel Zak <kzak@redhat.com> SEE ALSO
findmnt(8), blkid(8), ls(1) AVAILABILITY
The lsblk command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. util-linux April 2010 LSBLK(8)
All times are GMT -4. The time now is 04:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy