Unable to mkfs, it fails with: <device> is apparently in use by the system; will not make a filesystem here!
Issue
- Unable to create filesystem on newly created volume. Problem persisted past a reboot.
# mke2fs -j -m 1 /dev/sdb1
mke2fs 1.39 (29-May-2006)
/dev/sdb1 is apparently in use by the system; will not make a filesystem here!
- I created a iscsi based LUN in RHEL 6.7,and I can find it by fdisk -l. I use fdisk to format the IPSAN from /dev/sde as /dev/sde1.
- I am checking the information, then I use
pvcreate /dev/sde1it replies:
Device /dev/sde1 not found (or ignored by filtering)
- I use
mkfs.ext4 /dev/sde1it replies:
/dev/sde1 is apparently in use by the system; will not make a filesystem here!
Environment
- Red Hat Enterprise Linux 4, 5, 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
