Re: fat32 question

2015-09-20 Thread Tomoaki AOKI
According to "Real Hardware Gotchas" section in [1], FAT32 fs creation
of FreeBSD seems to have some problems.

Try formatting by the hardware you're going to transfer files from
FreeBSD, if available. Once formatted by other OS, read/write/delete
files in FAT32 formatted media would be OK with FreeBSD.

If not, and if the file you want to transfer is small enough, partition
the media and use FAT16. (The safest maximum is 32MB, but maybe under
2GB would be OK.)

[1] https://wiki.freebsd.org/UEFI


On Sun, 20 Sep 2015 06:55:19 +0200
Zoran Kolic  wrote:

> I have a device to which I'd like to connect otg cable
> and insert 16gb usb stick. Tried "newfs_msdos -F32 /dev/da0".
> Mounted, copied files. The device does not see the file
> system at all.
> Any idea what to do further? Another option might be extfs.
> Best regards
> 
>   Zoran
> 
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 


-- 
Tomoaki AOKIjunch...@dec.sakura.ne.jp
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: fat32 question

2015-09-20 Thread Julian H. Stacey
Tomoaki AOKI wrote:
> According to "Real Hardware Gotchas" section in [1], FAT32 fs creation
> of FreeBSD seems to have some problems.
> 
> Try formatting by the hardware you're going to transfer files from
> FreeBSD, if available. Once formatted by other OS, read/write/delete
> files in FAT32 formatted media would be OK with FreeBSD.
> 
> If not, and if the file you want to transfer is small enough, partition
> the media and use FAT16. (The safest maximum is 32MB, but maybe under
> 2GB would be OK.)
> 
> [1] https://wiki.freebsd.org/UEFI

Zoran, re Brandon's "won't understand it any more."
Dont despair & discard stick, you can rebuild the MBR: man fdisk
from memory start with fdisk -i -B /dev/da0 

sometimes I then remove & reinsert or even reboot, to make certain
the OS has the new numbers.  I don't recall I've needed to reduce
from FAT32 to FAT16.

Ive not read the uefi page as happily no boxes are uefi here,
but I've often created FAT32 partitions, my notes at
http://www.berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/jhs/etc/devd/berklix.conf

The advice about letting the other native MS FAT device format if it will,
is quickest solution though.

PS Max size of FAT32 = 2TB
https://en.wikipedia.org/wiki/File_Allocation_Table#FAT32

> 
> 
> On Sun, 20 Sep 2015 06:55:19 +0200
> Zoran Kolic  wrote:
> 
> > I have a device to which I'd like to connect otg cable
> > and insert 16gb usb stick. Tried "newfs_msdos -F32 /dev/da0".
> > Mounted, copied files. The device does not see the file
> > system at all.
> > Any idea what to do further? Another option might be extfs.
> > Best regards
> > 
> >   Zoran




Cheers,
Julian
--
Julian Stacey, BSD Linux Unix C Sys Eng Consultant Munich http://berklix.com
 Reply after previous text, like a play - Not before, which looses context.
 Indent previous text with "> " Insert new lines before 80 chars.
 Send plain text, Not quoted-printable, Not HTML, Not ms.doc, Not base64.
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


Re: fat32 question

2015-09-20 Thread Zoran Kolic
> Zoran, re Brandon's "won't understand it any more."
> Dont despair & discard stick, you can rebuild the MBR: man fdisk
> from memory start with fdisk -i -B /dev/da0 

First, thanks all for replies!
After a bit of puzzling, I found that the problem was every Transcend
usb stick I have. They are all fine for mundane tasks and newfs_msdos
makes it able to work on freebsd. My music player was picky and has
something to say against. When I inserted old and forgoten Verbatim
drive, without making f32, it presented itself and files were ready
to play. Unbelievable.
Yep, I did fdisk step after I posted the question. No go on Transcend.
Might be hardware incompatibility or else. Btw, I always do just newfs
on back up usb disks and never had any problem, so far, on freebsd.
Once again, thank you for help.

  Zoran

___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"


ZFS UEFI boot?

2015-09-20 Thread Rainer Duffner
Hi,

according to the wiki:

https://wiki.freebsd.org/UEFI#Tasks 

it’s still unsolved and hasn’t even been started.


According to the status report:

https://www.freebsd.org/news/status/report-2015-04-2015-06.html#ZFS-Support-for-UEFI-Boot/Loader
 


some work has been done.

https://lists.freebsd.org/pipermail/freebsd-hackers/2015-March/047486.html 



The reason I’m asking is that all of our servers are HP DL 3[6|8]0 Gen9.
These servers only support UEFI boot (you can set them to legacy-boot only for 
the next reboot).
I would assume this to be true for more and more servers.

I was playing with the idea of replacing the P440 controllers that we normally 
buy for these servers with the H240 controllers (these can be put into a so 
called „HBA mode“  and then present each disk directly, making them better 
suited for ZFS).

However, the server still only boots with UEFI.

And ZFS I want primarily to leverage beadm across all our servers...







___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"

Re: fat32 question

2015-09-20 Thread Erich Dollansky
Hi,

On Sun, 20 Sep 2015 16:23:42 +0200
Zoran Kolic  wrote:

> > Zoran, re Brandon's "won't understand it any more."
> > Dont despair & discard stick, you can rebuild the MBR: man fdisk
> > from memory start with fdisk -i -B /dev/da0 
> 
> First, thanks all for replies!
> After a bit of puzzling, I found that the problem was every Transcend
> usb stick I have. They are all fine for mundane tasks and newfs_msdos
> makes it able to work on freebsd. My music player was picky and has
> something to say against. When I inserted old and forgoten Verbatim
> drive, without making f32, it presented itself and files were ready
> to play. Unbelievable.
> Yep, I did fdisk step after I posted the question. No go on Transcend.
> Might be hardware incompatibility or else. Btw, I always do just newfs
> on back up usb disks and never had any problem, so far, on freebsd.
> Once again, thank you for help.
> 
FreeBSD has no problem when the file system is directly on the device.
Other operating system have problems with it as they expect partitions.

fdisk is a bit outdated. Use gpart for partitioning.

Erich
___
freebsd-stable@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"