Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Professional XXL with 2x 1TB HDDs (1TB RAID) server from and i want to create a volume group in it but when first i create pv it's showing.

           [root@xen17 ~]# pvcreate /dev/sda3
              /dev/sda3: open failed: No such device or address 
              Can't open /dev/sda3 exclusively.  Mounted filesystem?

And the output of.

           [root@xen17 ~]#  grep filter /etc/lvm/lvm.conf | grep -v "#"
              filter = [ "a/.*/" ]

sometimes it shows

           [root@xen17 ~]# pvcreate /dev/sda3
           Device /dev/hda1 not found (or ignored by filtering).

Now i am confused why this disk is behaving like that please help me in this i am struggling in this since 4 days. Any help will be appreciated.

share|improve this question
up vote 0 down vote accepted

Try grep sda3 /proc/partitions to see if sda3 is actually available on your system.

If it is, then try grep sda3 /proc/mounts and see if the disk you are trying to use is not actually already mounted.

Note that in a XEN guest, your block devices are most likely not named sda (cat /proc/partitions to see what your block devices are).

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.