Can not Format USB hard drive


 
Thread Tools Search this Thread
Operating Systems Solaris Can not Format USB hard drive
# 1  
Old 04-14-2010
Can not Format USB hard drive

Hey i have a new USB 320GB harddrive i want to use in my Solaris 10 enviroment.

i first had the drive format in windows with FAT32,
Solaris was able to auto mount this drive and everything was fine, until i realised that it would not except files greater then 4gb, due to the limitations of FAT32.

so my plan is to format the drive and create a partition with UFS.

when i try to format the drive with rmformat i get an error


LONG
Code:
-bash-3.00# rmformat -F long /dev/rdsk/c3t0d0p0
Formatting will erase all the data on disk.
Do you want to continue? (y/n)y
Format failed : I/O error

QUICK
Code:
-bash-3.00# rmformat -F quick /dev/rdsk/c3t0d0p0
Formatting will erase all the data on disk.
Do you want to continue? (y/n)y
Format failed : Operation not supported


Code:
-bash-3.00# rmformat -l
Looking for devices...
     1. Volmgt Node: /vol/dev/aliases/cdrom0
        Logical Node: /dev/rdsk/c0t0d0s2
        Physical Node: /pci@0,0/pci-ide@1f,1/ide@0/sd@0,0
        Connected Device: HL-DT-ST RW/DVD GCC-4244N 2.00
        Device Type: DVD Reader
     2. Volmgt Node: /vol/dev/aliases/rmdisk0
        Logical Node: /dev/rdsk/c3t0d0p0
        Physical Node: /pci@0,0/pci103c,31fe@1d,7/storage@7/disk@0,0
        Connected Device: Hitachi  HTS723232L9A360
        Device Type: Removable


i have stop the volmgt and still getting the same error. can anyone please help

Last edited by pludi; 04-14-2010 at 02:57 PM.. Reason: code tags, please...
# 2  
Old 04-14-2010
Forget about formatting which isn't what you are looking for anyway (fdisk, fmthard and newfs) and forget also about ufs which is showing its age. Simply run
Code:
zpool create usb320 /dev/rdsk/c3t0d0

and you are set.

Code:
zpool export usb320

before unplugging the disk.
Code:
zpool import usb320

to do the opposite.
# 3  
Old 04-15-2010
Is this on a sparc or x86 machine?
On x86 machine, run the following commands to access pcfs disk type.

/etc/init.d/volmgt stop
format -e or rmformat

mount -F pcfs /dev/dsk/c2t0d0p0:c /mnt

On SPARC machine, run the following commands to access pcfs disk type.

/etc/init.d/volmgt stop
format -e or rmformat

mount -F pcfs /dev/dsk/c1t0d0s2:c /mnt

If the disk is not partitioned, leave the ":c" out.

See if this link helps:
http://grayingmatter.consorti.com/20...n-solaris.html
This User Gave Thanks to incredible For This Post:
# 4  
Old 04-15-2010
@incredible: you misread the question. The OP wants to use a file system that allows files larger than 4 GB. Staying with pcfs as you seems to suggest isn't going to help. OTOH, the link you posted shows how to create an UFS filesystem on the disk but why going the complex way while ZFS is so simple to set up yet having much more features ?
# 5  
Old 04-19-2010
Quote:
Originally Posted by incredible
Is this on a sparc or x86 machine?
On x86 machine, run the following commands to access pcfs disk type.

/etc/init.d/volmgt stop
format -e or rmformat

mount -F pcfs /dev/dsk/c2t0d0p0:c /mnt

On SPARC machine, run the following commands to access pcfs disk type.

/etc/init.d/volmgt stop
format -e or rmformat

mount -F pcfs /dev/dsk/c1t0d0s2:c /mnt

If the disk is not partitioned, leave the ":c" out.

See if this link helps:
Graying Matter: USB Drive on Solaris
]
Thanks a million, i followed your link and it worked a treat!!
cheers
# 6  
Old 04-19-2010
Glad you made it but disappointed to see how reluctant to change / to simpler solution people often are ...
# 7  
Old 04-19-2010
dshakey,
Im happy for you ! Good Luck.. Smilie Cheers!
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

How do I mount a USB Hard Drive?

I have a Sun-Fire V440 running with Solaris 9 and am trying to get a WD USB Hard Drive mounted. None of the articles I've read so far have helped. Output from rmformat: Looking for devices... 1. Volmgt Node: /vol/dev/aliases/rmdisk0 Logical Node: /dev/rdsk/c5t0d0s2 ... (17 Replies)
Discussion started by: oldtimertj
17 Replies

2. UNIX for Advanced & Expert Users

Waking Up USB External Hard Drive for file archiving

Hello Experts, I hope I'm writing to the correct category for my question. I have a very basic shell script for doing file archiving to the external usb hard drive (WD studio edition II 2TB formatted as FAT32 for compatibility). The shell script only needs to run once per day. It basically... (8 Replies)
Discussion started by: johankor
8 Replies

3. Solaris

USB External Hard Drive for Solaris 10 Sparc

Hi- I would like to know if anyone has used any USB External Hard Drive, about 500/750GB or 1TB, with any of the Solaris 10 "SPARC" systems. Not on intel nor amd platform. I'm looking for the compatible drive and found a few listed on Sun solaris ready page, but I'd like to have inputs from... (3 Replies)
Discussion started by: agfa_109
3 Replies

4. Filesystems, Disks and Memory

USB Pen Drive & Hard Disk

Hi Guys, I have an external USB Hard Disk Drive on which I have 3 partitions and it works fine under Windows XP but when I am using Red Hat Linux 5 I don't see any icon for this USB HDD. Also I am not able to browse my USB Pen Drive. However, I can use it under Mandrake Linux without any... (4 Replies)
Discussion started by: indiansoil
4 Replies

5. Solaris

USB Hard Disk Drive Supported by Sun Fire V890

Hi, Can anyone suggest me any USB Hard Disk Drive which I can connect to Sun Fire V890 and take backup at a quick speed. A test with SolidState USB Hard Drive for backup work was taking writing at 2GB per hour for a 75GB backup. Regards, Tushar Kathe (1 Reply)
Discussion started by: tushar_kathe
1 Replies

6. SCO

USB hard drive problem

I have a USB hard drive attached to my SCO OSR6 machine I accidently powered it off while it was mounted and now the OS complains when you try to re-mount it and it appears that it is complaining because it has a new device number so it isn't at the original device location anymore. does anyone... (1 Reply)
Discussion started by: garycrow
1 Replies

7. Solaris

FAT32 usb external hard drive - how to mount??

Hello ! What is the comand to mount and usb hard disk ? I have Solaris 10 installed! 10nx! (1 Reply)
Discussion started by: daniel.balasa
1 Replies

8. UNIX for Advanced & Expert Users

format unix hard drive on windows xp

Hello, How is it possible to copy the partition of hard drive that have unix on it (it's a scsi hard drive of an Irix (SGI)), under windows xp - what I did till now is to connect the drive to the my pc (windows xp installed) with a scsi adapter and the program partition magic can't recognize the... (2 Replies)
Discussion started by: moyalt
2 Replies

9. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

10. UNIX for Dummies Questions & Answers

Format Hard Drive in Linux

What Command do I need to use to Format my hard Drive in Linux. Please help me out. -Regards -Iftikhar:) (2 Replies)
Discussion started by: syedifti
2 Replies
Login or Register to Ask a Question

Featured Tech Videos