Date: Tue, 23 May 1995 15:50:40 -0300 From: Harlan Stenn <Harlan.Stenn@pfcs.com> To: freebsd-questions@FreeBSD.org Subject: How to format a SCSI disk? Message-ID: <12753.801258640@mumps.pfcs.com>
next in thread | raw e-mail | index | archive | help
I read the scsi(8) manual page and the related pages. I have an old disk that has some bad blocks, and I want to reformat the drive. This is what happened: Script started on Mon May 22 18:25:31 1995 supfcs@pcfb1:~# time scsi -f /dev/rsd2d -c "4 0 0 0 0 0" Need the command format string. Usage: scsi -f device -d debug_level # To set debug level scsi -f device -p [-b bus] [-l lun] # To probe all devices scsi -f device -r [-b bus] [-t targ] [-l lun] # To reprobe a device scsi -f device [-v] -c cmd_fmt [arg0 ... argn] \ # To send a command... -o count out_fmt [arg0 ... argn] # EITHER (for data out) -i count in_fmt # OR (for data in) "out_fmt" can be "-" to read output data from stdin; "in_fmt" can be "-" to write input data to stdout; If debugging is not compiled in the kernel, "-d" will have no effect 0.006u 0.030s 0:00.10 30.0% 392+622k 1+0io 4pf+0w supfcs@pcfb1:~# . exit Script done on Mon May 22 18:26:28 1995 What am I doing wrong? Thanks... H
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?12753.801258640>