You are not logged in.

#1 2012-03-31 01:26:32

eox425
Member
From: Ukraine vinnitsa reg Ladyzhin
Registered: 2008-05-11
Posts: 18

Can't create filesystem on disc -

I'm trying to format disks to ext4 and reiserFS but after creating new partition table it fails.

cfdisking /dev/sdb
mkfs.ext4 /dev/sdb1

/dev/sdb1 is apparently in use by the system; will not make a filesystem here!

lsof | grep sdb1
echoes nothing

/dev/disk/by-uuid/ has nothing about sdb
but /dev/disk/by-id/ and /dev/disk/by-path has links to sdb partitions

Please give me advice...
I'm a udev noob with quite bad english.


________
samp vcmp q4 ut3 ut2 MangoS admin

Offline

#2 2012-03-31 01:36:15

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Can't create filesystem on disc -

What is the current fielsystem in the disc?
unmount the disc, if its mounted, and try again.

Offline

#3 2012-03-31 09:06:20

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: Can't create filesystem on disc -

Have a look (with for example fdisk) on what partitions are already created on your /dev/sdb disk. If /dev/sb1 already exists, you can't create it again obviously.


Burninate!

Offline

#4 2012-03-31 19:03:24

eox425
Member
From: Ukraine vinnitsa reg Ladyzhin
Registered: 2008-05-11
Posts: 18

Re: Can't create filesystem on disc -

I'm dd if=/dev/zero of=/dev/sdb bs=8M count=1
And udev deletes all partitions from the /dev
When I'm create a new ones with cfdisk I can't format them, or do anything.
There is no FS on empty partitions.


________
samp vcmp q4 ut3 ut2 MangoS admin

Offline

#5 2012-03-31 19:07:30

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Can't create filesystem on disc -

When you say it has empty partitions, I guess you need to create a partion table. Correct me if I am wrong.

I

Offline

#6 2012-04-01 22:30:28

mr.MikyMaus
Member
From: disabled
Registered: 2006-03-31
Posts: 285

Re: Can't create filesystem on disc -

Try rebooting the system after that dd command - it should get rid of any residual mounts..


What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...

... and who is general Failure and why is he reading my harddisk?

Offline

#7 2012-04-04 05:43:28

manzdagratiano
Member
From: New Jersey, USA
Registered: 2010-10-08
Posts: 137

Re: Can't create filesystem on disc -

Errm... I don't understand the exact issue behind the failure, but I would suggest trying this out via GParted as well? I have performed very many complicated disk operations through GParted, and it has never failed me.


Be formless, shapeless... like water. Now you put water into a cup, it becomes the cup; you put water into a bottle it becomes the bottle; if you put it in a teapot it becomes the teapot... Now water can flow, or it can crash... Be water my friend

Offline

Board footer

Powered by FluxBB