I've inserted a 128Gb USB Memory Stick and destroyed the previous formatting with
I want to create 4 off 30Gb FAT32 partitions, so I then rebuilt the structure:
it now appears thus in gpart show:
My problem comes when I try to format as FAT32:
and I get:
and the USB disappears from "gpart show". I have to unplug it and re-insert it. This happens with all four of the partitions, da0s1 through 4.
I suspect I'm asking the format to use parameters that are incorrect for the FAT32 and partition sizes available, but I can't see the wood for the trees. Could someone please point me in the right direction?
gpart destroy -F /dev/da0
I want to create 4 off 30Gb FAT32 partitions, so I then rebuilt the structure:
gpart create -s mbr /dev/da0
gpart add -s 30G -t fat32 /dev/da0
gpart add -s 30G -t fat32 /dev/da1
gpart add -s 30G -t fat32 /dev/da2
gpart add -s 30G -t fat32 /dev/da3
it now appears thus in gpart show:
root@freenas:/mnt/FreeNAS_1/home/andrew # gpart show
=> 40 5860533088 ada0 GPT (2.7T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 5856338688 2 freebsd-zfs (2.7T)
5860533120 8 - free - (4.0K)
=> 40 5860533088 ada1 GPT (2.7T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 5856338688 2 freebsd-zfs (2.7T)
5860533120 8 - free - (4.0K)
=> 40 5860533088 ada2 GPT (2.7T)
40 88 - free - (44K)
128 4194304 1 freebsd-swap (2.0G)
4194432 5856338688 2 freebsd-zfs (2.7T)
5860533120 8 - free - (4.0K)
=> 40 3907029088 ada3 GPT (1.8T)
40 1024 1 freebsd-boot (512K)
1064 3907028056 2 freebsd-zfs (1.8T)
3907029120 8 - free - (4.0K)
=> 63 245759937 da0 MBR (117G)
63 62914560 1 fat32 (30G)
62914623 62914560 2 fat32 (30G)
125829183 62914560 3 fat32 (30G)
188743743 56623104 4 fat32 (27G)
245366847 393153 - free - (192M
)My problem comes when I try to format as FAT32:
newfs_msdos -L FILES -F 32 /dev/da0s2
and I get:
/dev/da0s2: 62899136 sectors in 982799 FAT32 clusters (32768 bytes/cluster)
BytesPerSec=512 SecPerClust=64 ResSectors=32 FATs=2 Media=0xf0 SecPerTrack=63 Heads=255 HiddenSecs=0 HugeSectors=62914560 FATsecs=7679 RootCluster=2 FSInfo=1 Backup=2
newfs_msdos: /dev/da0s2: Input/output error
and the USB disappears from "gpart show". I have to unplug it and re-insert it. This happens with all four of the partitions, da0s1 through 4.
I suspect I'm asking the format to use parameters that are incorrect for the FAT32 and partition sizes available, but I can't see the wood for the trees. Could someone please point me in the right direction?