[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <793F980F-5708-4DBB-8406-585E34C68CDB@dilger.ca>
Date: Wed, 26 Feb 2020 13:43:20 -0700
From: Andreas Dilger <adilger@...ger.ca>
To: Alok Jain <jain.alok103@...il.com>
Cc: linux-ext4@...r.kernel.org
Subject: Re: Getting issue while creating ext4 file system
On Feb 25, 2020, at 2:41 AM, Alok Jain <jain.alok103@...il.com> wrote:
>
> Hi Guys,
>
> Thanks for your time to look into this
> While connecting a block volume to my instance I m getting the below error
> Command: mkfs.ext4 /dev/sdd1
> Error Message:
> mke2fs 1.42.9 (28-Dec-2013)
> Could not stat /dev/sdd1 --- No such file or directory
>
> The device apparently does not exist; did you specify it correctly?
>
> Before executing this command I did run iscsi command to attach
> followed by these partition commands, all completed successfully
> parted -s -a optimal /dev/sdd mklabel gpt
> parted -s -a optimal /dev/sdd mkpart primary '1MiB -1'
> Any idea?
This doesn't look like an ext4 issue. Did you actually check that
/dev/sdd1 exists (e.g. "ls -l /dev/sd*")? You may need to tell the
kernel to reload the partition table and convince udev to create it.
If it does exist, can you dump the partition table with something
like "fdisk -l /dev/sdd", and read some data from the device with
e.g. "file -s /dev/sdd1" or similar?
Cheers, Andreas
Download attachment "signature.asc" of type "application/pgp-signature" (874 bytes)
Powered by blists - more mailing lists