Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

How to create file system on USB Drive

How to create file system on USB Drive

How to create file system on USB Drive

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

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

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

RE: How to create file system on USB Drive

I believe you need to create a parititon in "fdisk". You can use the whole device as a single partition. Then, you give "newfs" the partition that was created in the "fdisk" command.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close