*New 12.1 series Release:
2019-11-08: XigmaNAS 12.1.0.4.7091 - released!

*New 11.3 series Release:
2019-10-19: XigmaNAS 11.3.0.4.7014 - released


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

fat32 format question

Hard disks, HDD, RAID Hardware, disk controllers, SATA, PATA, SCSI, IDE, On Board, USB, Firewire, CF (Compact Flash)
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
User avatar
alexey123
Moderator
Moderator
Posts: 1563
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

fat32 format question

#1

Post by alexey123 » 30 Sep 2012 15:37

I try format usb drive ( also scsi target) as fat under nas4free.
And when I connect usbdrive to WinXP I see no space
Image

When I format this flash under WinXP, I see OK on Nas4free
Image

This is normal?
Home11.0.0.4 - Sayyadina (revision 4249)/ x64-embedded on SAPPHIRE Pure Mini E350 / 8G RAM / UPS Ippon Back Power Pro 600
Lab 10.2.0.2 - Prescience (revision 2545) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
New XigmanasXigmaNAS version 11.2.0.4.6026 on x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM
TEST1 11.0.0.4 - Pilingitam (revision 4333) bpi-embedded on Allwinner a20 / 1015MiB RAM

User avatar
shakky4711
Advanced User
Advanced User
Posts: 273
Joined: 25 Jun 2012 08:27
Status: Offline

Re: fat32 format question

#2

Post by shakky4711 » 01 Oct 2012 08:29

Hello,

Would be interesting what is filling the drive when it is formatted under NAS4Free. Could be a try to seach for hidden files.
What happens when you format with NAS4Free, plug into your Windows PC and do an fsck? Does it fix any problems? When not there must be hiden files.

Generally I have had never any problems when I formatted FAT drives with FreeBSD machines, but never have done with FreeNAS/NAS4Free because I use theses drives only with my desktop system running Linux on it.

Shakky

User avatar
alexey123
Moderator
Moderator
Posts: 1563
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: fat32 format question

#3

Post by alexey123 » 01 Oct 2012 15:23

shakky4711 wrote:Hello,
Would be interesting what is filling the drive when it is formatted under NAS4Free. Could be a try to seach for hidden files.
Hello shakky.
Not, formatting is tool before any files, this is codes for cpu.
What happens when you format with NAS4Free, plug into your Windows PC and do an fsck? Does it fix any problems? When not there must be hiden files.
Not so simple. For example I want to make the image of a test drive, connect it via iSCSI, and to work with him. Therefore, we must learn how to use this way.
[/quote]

I partially begin understand how work FAT32 :D
Nas4free before formatting make fdisk, but windows not understand code. Command

Code: Select all

newfs_msdos /dev/da0
work as need for storage, no need fdisk before.
I attach first disk sectors, I see differences. In first - XP make hidden copy of Volume Boot Records in sector 6 and any code in sector 12.

UPDATE:
Ugly and nasty windows not allow split into partitions USB flash :twisted: May be add to nas4free format menu - format usb-flash :?: :idea:
Hmmmm:
I build image and connect over iSCSI to PC.
Also i connect it into nas over mdconfig.
Image devide to 3 slices as md10s1, md10s2, md10s3. md10s1 - FAT16(from nas4free), md10s2 -FAT32(from nas4free), md10s3 - ntfs (from XP)
Fat16 - I have freespace, fat32 - I not have free space, disk full. ntfs - withowt problem.
But if I format FAT32 under XP - all work.

Code: Select all

# gpart show md10
=>     63  8388545  md10  MBR  (4.0G)
       63    96327     1  !6  (47M)
    96390     3654        - free -  (1.8M)
   100044   189126     2  !12  (92M)
   289170    10836        - free -  (5.3M)
   300006   696024     3  ntfs  (339M)
   996030  7392578        - free -  (3.5G)
You do not have the required permissions to view the files attached to this post.
Home11.0.0.4 - Sayyadina (revision 4249)/ x64-embedded on SAPPHIRE Pure Mini E350 / 8G RAM / UPS Ippon Back Power Pro 600
Lab 10.2.0.2 - Prescience (revision 2545) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
New XigmanasXigmaNAS version 11.2.0.4.6026 on x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM
TEST1 11.0.0.4 - Pilingitam (revision 4333) bpi-embedded on Allwinner a20 / 1015MiB RAM

User avatar
shakky4711
Advanced User
Advanced User
Posts: 273
Joined: 25 Jun 2012 08:27
Status: Offline

Re: fat32 format question

#4

Post by shakky4711 » 02 Oct 2012 08:22

Good morning,

Code: Select all

newfs_msdos /dev/da0
As far as I can remember you must format the partition, not the raw device

So on a device with MBR partition the format should run with newfs_msdos /dev/da0s1 or similar

But it is really long ago, just a hint from my mind...

Shakky

User avatar
alexey123
Moderator
Moderator
Posts: 1563
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: fat32 format question

#5

Post by alexey123 » 04 Oct 2012 15:00

I temporary destroy web gui and now fat formatting make only fat16.
:shock: Unebootin format fat32 as need
Home11.0.0.4 - Sayyadina (revision 4249)/ x64-embedded on SAPPHIRE Pure Mini E350 / 8G RAM / UPS Ippon Back Power Pro 600
Lab 10.2.0.2 - Prescience (revision 2545) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600
New XigmanasXigmaNAS version 11.2.0.4.6026 on x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM
TEST1 11.0.0.4 - Pilingitam (revision 4333) bpi-embedded on Allwinner a20 / 1015MiB RAM

Post Reply

Return to “Hard disk & controller”