why I get âexisting superblock read failed: Invalid argumentâ

Clash Royale CLAN TAG#URR8PPP up vote
0
down vote
favorite
Facing issue while running mfks.xfs -f -i
$ truncate -s 41943040 /d/backends/disk1
$ mkfs.xfs -f -i size=512 /d/backends/disk1
gives error
meta-data=/d/backends/disk1 isize=512 agcount=2, agsize=5120 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0
data = bsize=4096 blocks=10240, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal log bsize=4096 blocks=855, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
existing superblock read failed: Invalid argument
mkfs.xfs: pwrite64 failed: Unknown error -22
mount filesystem volume-control file-format
add a comment |Â
up vote
0
down vote
favorite
Facing issue while running mfks.xfs -f -i
$ truncate -s 41943040 /d/backends/disk1
$ mkfs.xfs -f -i size=512 /d/backends/disk1
gives error
meta-data=/d/backends/disk1 isize=512 agcount=2, agsize=5120 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0
data = bsize=4096 blocks=10240, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal log bsize=4096 blocks=855, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
existing superblock read failed: Invalid argument
mkfs.xfs: pwrite64 failed: Unknown error -22
mount filesystem volume-control file-format
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Facing issue while running mfks.xfs -f -i
$ truncate -s 41943040 /d/backends/disk1
$ mkfs.xfs -f -i size=512 /d/backends/disk1
gives error
meta-data=/d/backends/disk1 isize=512 agcount=2, agsize=5120 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0
data = bsize=4096 blocks=10240, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal log bsize=4096 blocks=855, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
existing superblock read failed: Invalid argument
mkfs.xfs: pwrite64 failed: Unknown error -22
mount filesystem volume-control file-format
Facing issue while running mfks.xfs -f -i
$ truncate -s 41943040 /d/backends/disk1
$ mkfs.xfs -f -i size=512 /d/backends/disk1
gives error
meta-data=/d/backends/disk1 isize=512 agcount=2, agsize=5120 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=1, sparse=0
data = bsize=4096 blocks=10240, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal log bsize=4096 blocks=855, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
existing superblock read failed: Invalid argument
mkfs.xfs: pwrite64 failed: Unknown error -22
mount filesystem volume-control file-format
mount filesystem volume-control file-format
asked Mar 21 at 13:16
rss
1
1
add a comment |Â
add a comment |Â
2 Answers
2
active
oldest
votes
up vote
0
down vote
You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).
but i am able to create new partition on this :fdisk /d/backends/disk1and it is not a mounted disk. It is a device created from gluster server.
â rss
Mar 22 at 4:18
add a comment |Â
up vote
0
down vote
I have build and installed xfsprogs solved my issue
apt-get install libtool automake gettext libblkid-dev uuid-dev
git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
cd fsprogs-dev
make && make install
add a comment |Â
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).
but i am able to create new partition on this :fdisk /d/backends/disk1and it is not a mounted disk. It is a device created from gluster server.
â rss
Mar 22 at 4:18
add a comment |Â
up vote
0
down vote
You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).
but i am able to create new partition on this :fdisk /d/backends/disk1and it is not a mounted disk. It is a device created from gluster server.
â rss
Mar 22 at 4:18
add a comment |Â
up vote
0
down vote
up vote
0
down vote
You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).
You're feeding a "mount point" (/d/backends/disk1) to mkfs.xfs. It wants a DEVICE (check man mkfs.xfs), like/dev/sdq. Alsomkfs.xfswon't work on a mounted disk (/d/backends/disk1`).
answered Mar 21 at 13:52
waltinator
20.6k74068
20.6k74068
but i am able to create new partition on this :fdisk /d/backends/disk1and it is not a mounted disk. It is a device created from gluster server.
â rss
Mar 22 at 4:18
add a comment |Â
but i am able to create new partition on this :fdisk /d/backends/disk1and it is not a mounted disk. It is a device created from gluster server.
â rss
Mar 22 at 4:18
but i am able to create new partition on this :
fdisk /d/backends/disk1 and it is not a mounted disk. It is a device created from gluster server.â rss
Mar 22 at 4:18
but i am able to create new partition on this :
fdisk /d/backends/disk1 and it is not a mounted disk. It is a device created from gluster server.â rss
Mar 22 at 4:18
add a comment |Â
up vote
0
down vote
I have build and installed xfsprogs solved my issue
apt-get install libtool automake gettext libblkid-dev uuid-dev
git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
cd fsprogs-dev
make && make install
add a comment |Â
up vote
0
down vote
I have build and installed xfsprogs solved my issue
apt-get install libtool automake gettext libblkid-dev uuid-dev
git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
cd fsprogs-dev
make && make install
add a comment |Â
up vote
0
down vote
up vote
0
down vote
I have build and installed xfsprogs solved my issue
apt-get install libtool automake gettext libblkid-dev uuid-dev
git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
cd fsprogs-dev
make && make install
I have build and installed xfsprogs solved my issue
apt-get install libtool automake gettext libblkid-dev uuid-dev
git clone git://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git
cd fsprogs-dev
make && make install
answered Mar 22 at 9:40
rss
1
1
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1017940%2fwhy-i-get-existing-superblock-read-failed-invalid-argument%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password