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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

fat32 on solaris10

Status
Not open for further replies.

POPKORN

Technical User
Jan 10, 2005
95
US
Hello all,

If anyone knows how to properly create a fat32 partition under solaris, any help would be greatly appreciated.


bash-3.00# mkfs -F pcfs /dev/rdsk/c2t1d0s2

Device /dev/rdsk/c2t1d0s2 was assumed to be a diskette.
A diskette specific operation failed on this device.
If the device is a hard disk, provide the name of the full physical disk,
and qualify that name with a logical drive specifier.

Hint: the device is usually something similar to

/dev/rdsk/c0d0p0 or /dev/rdsk/c0t0d0p0 (x86)
/dev/rdsk/c0t5d0s2 (sparc)

The drive specifier is appended to the device name. For example:

/dev/rdsk/c0t5d0s2:c or /dev/rdsk/c0d0p0:boot


ok lets try that


bash-3.00# mkfs -F pcfs /dev/rdsk/c2t1d0s2:c
Bad Sig on master boot record!

nope, that did not worked either

--------------------------------------------------------------------------
here is the format


bash-3.00# format
Searching for disks...done


AVAILABLE DISK SELECTIONS:
0. c0t0d0 <SEAGATE-ST118273LC-6246 cyl 7499 alt 2 hd 20 sec 237> scsi0
/pci@1f,4000/scsi@3/sd@0,0
1. c0t1d0 <SEAGATE-ST118273LC-5702 cyl 7499 alt 2 hd 20 sec 237> scsi1
/pci@1f,4000/scsi@3/sd@1,0
2. c2t0d1 <DGC-RAID5-0511 cyl 54194 alt 2 hd 5 sec 640>
/pci@1f,2000/fibre-channel@1/sd@0,1
3. c2t0d3 <DGC-RAID5-0511 cyl 54194 alt 2 hd 9 sec 640>
/pci@1f,2000/fibre-channel@1/sd@0,3
4. c2t1d0 <DGC-RAID5-0511 cyl 54194 alt 2 hd 8 sec 640>
/pci@1f,2000/fibre-channel@1/sd@1,0



c2t1d0 is a raid 5 on a clariion storage. I find a lot of documentation for ide drives which make reference to c2t1P0:c something like that but, in my case everything is fibre channel. Sort of lost on this one any help would be nice.

I have broken the array and recreated it to see if the boot record would be fixed but that did not helped.


Thanks in advance.


POPKORN
 
Ok here is something else i tried and still does not work.


bash-3.00# fdisk /dev/rdsk/c2t1d0s2
Error in ioctl DKIOCGMBOOT: Invalid argument
No fdisk table exists. The default partition for the disk is:

a 100% "SOLARIS System" partition

Type "y" to accept the default partition, otherwise type "n" to edit the
partition table.
n

Total disk size is 54194 cylinders
Total disk size is 54194 cylinders
Cylinder size is 5120 (512 byte) blocks

Cylinders
Partition Status Type Start End Length %
========= ====== ============ ===== === ====== ===
1 Ext Win95 1 54193 54193 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


fdisk: Error in ioctl DKIOCSMBOOT on /dev/rdsk/c2t1d0s2.
bash-3.00#


any help would be appreciated...



POPKORN
 
Why on earth are you creating a FAT32 partition under Solaris? If it's so the disk can be accessed by a Windows system, perhaps an MS-DOS style partition table would be a better choice?

Note that under Solaris s2 is traditionally the 'backup' slice and refers to the entire disk. Even if you want to use the entire disk for your partition I would recommend creating another slice that refers to the same region and using that (s0 perhaps). Perhaps this is irrelevant if you are going to use an MS-DOS partition table, but...

Annihilannic.
 
I have a clariion unit with 10 18G drives on it on a raid 5. It is basically a storage system. How ever at the same time I have linux machines and windoes machines that need access to this raid as well. I do not wish to make seperate partitions. I want to use fat32 because its compatible with all 3 OS. The clariion is connected via an FC switch and all machines are connected via fc cards to the switch. I could use samba but I would be limited to 100mbit. Using fat32 would enable any of these OS to access the fat32 partition and retreive any necesary files.

Most files are HI res images over 300M some are even 900M. That is why I am trying to make this work like this as I can take advantage of the 2GB speed of FC instead of using 100mbit over samba.

Any suggestions are welcome..




 
Are you hoping to gives these systems access to this partition simultaneously?? If that's the case you need a cluster aware filesystem, which FAT32 most certainly isn't.

If you plan to switch them between machines, one at a time, I can see where you're coming from, in which case you would be better off doing the fdisk and creating the FAT32 from one of the Windows systems, right?

Annihilannic.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top