Learn how to a build a cloud-first strategyRegister Now


Formatting new tape cartridge ...

Posted on 2004-11-23
Medium Priority
Last Modified: 2013-12-15
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 ...
Question by:mn210
  • 2
LVL 38

Accepted Solution

wesly_chen earned 150 total points
ID: 12660397

   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


LVL 38

Expert Comment

ID: 12660403
> Change SONY website
Check Sony website.
LVL 12

Expert Comment

ID: 12662578
I think I reply to you on here http://www.experts-exchange.com/Operating_Systems/Linux/Linux_Administration/Q_21203556.html 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 http://www.experts-exchange.com/Operating_Systems/Linux/Linux_Administration/Q_21203556.html so that we can have more idea.

Author Comment

ID: 12667113
I tried fdisk /dev/st0 ( with the new tape in the tape drive)  and got message - unable to read.

Featured Post


Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month20 days, 16 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question