Formatting new tape cartridge ...

Hi Experts,
Do I need to format the new tape cartridge(4mm DDS-120) used for taking backup in SONY SDT 9000 Tape Drive on Red Hat Linux 7.2 server ?
Actually, I tried formatting using mkfs and got following message:
mkfs.ext2 /dev/st0
/dev/st0 is not a block special device.
Proceed anyway (y/n) y
mkfs.ext2 : Device size reported to be zero. Invalid partition specified or partition table wasn't reread after running fdisk due to modified partition being busy and in use. You may need to re-read your partiton table.

I booted and even changed the tape cartridge but git the same message ?
Thanks ...
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


   You don't need to format the tape. But you can use the Tape Vendor's utility to do it. Change SONY website.
To use tape, you need to use "tar" or "mt" command. For example (as root),
to erase the type.
# mt -erase



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
> Change SONY website
Check Sony website.
I think I reply to you on here unless you still got problem of using the fdisk.

and yes Sony might have the tool, but normally it's for Windows.

Since the tape normally in FAT32 format and when you reformat it by mkfs.ext2 there will be problem unless you recreate the partition using the fdisk.

and normally you can backup the things in FAT32 as wesly_chen suggested using tar or mt, but you are using backup script, so it's better to have your script posted either here or so that we can have more idea.
mn210Author Commented:
I tried fdisk /dev/st0 ( with the new tape in the tape drive)  and got message - unable to read.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.