Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to create file system on USB Drive

Status
Not open for further replies.
Nov 27, 2012
167
US
I have an Avaya Call Management System that runs on Solaris 10 8/11 s10x_u10wos_17b X86. I have been trying to prepare a USB storage device on the system so that I can backup my CMS data. I have tried several different devices, including SanDisk Cruzer 4G stick, SanDisk Cruzer Ultra 16G stick, Gorilla Drive 32G stick, and a Seagate 500G SATA in a USB external enclosure, all unsuccessfully. The system recognizes all of the devices, and I can create UNIX partitions on all of them using FDISK. But when I try to create the file system using the newfs command, I get the error:

"Can not determine partition size: Invalid argument"

Here's the steps I have performed, in detail...

1. # rmformat -l
Looking for devices...
1. Logical Node: /dev/rdsk/c1t4d0p0
Physical Node: /pci@0,0/pci108e,4849@1f,2/cdrom@4,0
Connected Device: TEAC DV-W28SS-V 1.0B
Device Type: DVD Reader/Writer
2. Logical Node: /dev/rdsk/c3t0d0p0
Physical Node: /pci@0,0/pci108e,4849@1d,7/storage@5/disk@0,0
Connected Device: ST950042 0AS 0002
Device Type: Removable

# fdisk /dev/rdsk/c3t0d0p0
Total disk size is 60801 cylinders
Total disk size is 60801 cylinders
Cylinder size is 16065 (512 byte) blocks

Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 UNIX System 1 60800 60800 100

SELECT ONE OF THE FOLLOWING:
1. Create a partition
2. Specify the active partition
3. Delete a partition
4. Change between Solaris and Solaris2 Partition IDs
5. Exit (update disk configuration and exit)
6. Cancel (exit without updating disk configuration) Enter Selection: 5


# newfs /dev/rdsk/c3t0d0p0
newfs: construct a new file system /dev/rdsk/c3t0d0p0: (y/n)? y
Can not determine partition size: Invalid argument

# uname -a
SunOS 1243FMK02W 5.10 Generic_147441-13 i86pc i386 i86pc

# cat /etc/release
Oracle Solaris 10 8/11 s10x_u10wos_17b X86
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.

Can anyone tell me what I'm doing wrong?


===
Chuck Chamblee
ACSS (CM) | CTP | A+ ce | Security+ ce
 
I believe you need to create a parititon in "[tt]fdisk[/tt]". You can use the whole device as a single partition. Then, you give "[tt]newfs[/tt]" the partition that was created in the "[tt]fdisk[/tt]" command.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top