External HD

2010-08-21 Thread Rem P Roberti

 I have a 500GB USB HD which I am able mount thus:

mount_ntfs /dev/da2s1 /mnt

Having done so I can copy from the external drive, but not write to it.
What is necessary to implement in order to be able to write to an 
external hard drive?


Rem


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


Re: External HD

2010-08-21 Thread Ivan Klymenko
В Sat, 21 Aug 2010 09:31:53 -0700
Rem P Roberti remeg...@comcast.net пишет:

   I have a 500GB USB HD which I am able mount thus:
 
  mount_ntfs /dev/da2s1 /mnt
 
 Having done so I can copy from the external drive, but not write to
 it. What is necessary to implement in order to be able to write to an 
 external hard drive?
 
 Rem

use the port /usr/ports/sysutils/fusefs-ntfs
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: External HD

2010-08-21 Thread Ryan Coleman
Rem,

You cannot write to NTFS using the stock driver.

Please use Google to search / do research on the drivers out there; writing to 
NTFS is a VERY dangerous thing. Your best bet is to just do your work over the 
network instead of directly over USB from a Windows-based node.

Also, read the man file for mount_ntfs, it will explain more.
--
Ryan


On Aug 21, 2010, at 11:31 AM, Rem P Roberti wrote:

 I have a 500GB USB HD which I am able mount thus:
 
mount_ntfs /dev/da2s1 /mnt
 
 Having done so I can copy from the external drive, but not write to it.
 What is necessary to implement in order to be able to write to an external 
 hard drive?
 
 Rem
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

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


Re: External HD

2010-08-21 Thread Rem P Roberti

 On 08/21/10 09:36, Ryan Coleman wrote:

Rem,

You cannot write to NTFS using the stock driver.

Please use Google to search / do research on the drivers out there; writing to 
NTFS is a VERY dangerous thing. Your best bet is to just do your work over the 
network instead of directly over USB from a Windows-based node.

Also, read the man file for mount_ntfs, it will explain more.
--
Ryan


On Aug 21, 2010, at 11:31 AM, Rem P Roberti wrote:


I have a 500GB USB HD which I am able mount thus:

mount_ntfs /dev/da2s1 /mnt

Having done so I can copy from the external drive, but not write to it.
What is necessary to implement in order to be able to write to an external hard 
drive?

Rem




Duly noted.  I shall definitely read the man page, but would also 
appreciate a

heads up on the dangers involved in writing to NTFS.

rEM
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: External HD

2010-08-21 Thread Rem P Roberti



Rem P Robertiremeg...@comcast.net  пишет:


   I have a 500GB USB HD which I am able mount thus:

  mount_ntfs /dev/da2s1 /mnt

Having done so I can copy from the external drive, but not write to
it. What is necessary to implement in order to be able to write to an
external hard drive?

Rem

use the port /usr/ports/sysutils/fusefs-ntfs



Thanks for the tip.  I have installed the port and will give it a try,
although I'm a little leery given Ryan's post.

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: External HD

2010-08-21 Thread Mario Lobo
On Saturday 21 August 2010 13:46:43 Rem P Roberti wrote:
  Rem P Robertiremeg...@comcast.net  пишет:
 I have a 500GB USB HD which I am able mount thus:
mount_ntfs /dev/da2s1 /mnt
  
  Having done so I can copy from the external drive, but not write to
  it. What is necessary to implement in order to be able to write to an
  external hard drive?
  
  Rem
  
  use the port /usr/ports/sysutils/fusefs-ntfs
 
 Thanks for the tip.  I have installed the port and will give it a try,
 although I'm a little leery given Ryan's post.
 
 Rem
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Don't forget to do this:

cd /sbin
mv -f mount_ntfs mount_ntfs-kern
ln -s /usr/local/bin/ntfs-3g mount_ntfs

so you can mount your ntfs disk right from fstab.

I have all my vbox vdi files on an ntfs drive and I'm yet to have a problem 
with it.
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since 2.2.8 [not Pro-Audio YET!!] (99% winfoes FREE)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: External HD

2010-08-21 Thread Elias Chrysocheris
On Saturday 21 of August 2010 20:03:02 Mario Lobo wrote:
 On Saturday 21 August 2010 13:46:43 Rem P Roberti wrote:
   Rem P Robertiremeg...@comcast.net  пишет:
  I have a 500GB USB HD which I am able mount thus:
 mount_ntfs /dev/da2s1 /mnt
   
   Having done so I can copy from the external drive, but not write to
   it. What is necessary to implement in order to be able to write to an
   external hard drive?
   
   Rem
   
   use the port /usr/ports/sysutils/fusefs-ntfs
  
  Thanks for the tip.  I have installed the port and will give it a try,
  although I'm a little leery given Ryan's post.
  
  Rem
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org
 
 Don't forget to do this:
 
 cd /sbin
 mv -f mount_ntfs mount_ntfs-kern
 ln -s /usr/local/bin/ntfs-3g mount_ntfs
 
 so you can mount your ntfs disk right from fstab.
 
 I have all my vbox vdi files on an ntfs drive and I'm yet to have a problem
 with it.

Well, I used to have an external NTFS hard drive. I used fusefs-ntfs and I 
could write in the drive. But there were times where the machine crashed and I 
couldn't even get a core dump. It also stoped durong the core dump and 
freezed... So I couldn't even place a PR for that...

That was in amd64 architecture

Best regards
Elias
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: External HD

2010-08-21 Thread Bruce Cran
On Sat, 21 Aug 2010 09:44:48 -0700
Rem P Roberti remeg...@comcast.net wrote:

 Duly noted.  I shall definitely read the man page, but would also 
 appreciate a
 heads up on the dangers involved in writing to NTFS.

A Google search for 'NTFS writing dangerous' turns up quite a few links.

-- 
Bruce Cran
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: External HD

2010-08-21 Thread Philipp Lengemann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Am Sat, 21 Aug 2010 20:24:14 +0300
schrieb Elias Chrysocheris elias...@cha.forthnet.gr:

 On Saturday 21 of August 2010 20:03:02 Mario Lobo wrote:
  On Saturday 21 August 2010 13:46:43 Rem P Roberti wrote:
Rem P Robertiremeg...@comcast.net  пишет:
   I have a 500GB USB HD which I am able mount thus:
  mount_ntfs /dev/da2s1 /mnt

Having done so I can copy from the external drive, but not
write to it. What is necessary to implement in order to be
able to write to an external hard drive?

Rem

use the port /usr/ports/sysutils/fusefs-ntfs
   
   Thanks for the tip.  I have installed the port and will give it a
   try, although I'm a little leery given Ryan's post.
   
   Rem
   ___
   freebsd-questions@freebsd.org mailing list
   http://lists.freebsd.org/mailman/listinfo/freebsd-questions
   To unsubscribe, send any mail to
   freebsd-questions-unsubscr...@freebsd.org
  
  Don't forget to do this:
  
  cd /sbin
  mv -f mount_ntfs mount_ntfs-kern
  ln -s /usr/local/bin/ntfs-3g mount_ntfs
  
  so you can mount your ntfs disk right from fstab.
  
  I have all my vbox vdi files on an ntfs drive and I'm yet to have a
  problem with it.
 
 Well, I used to have an external NTFS hard drive. I used fusefs-ntfs
 and I could write in the drive. But there were times where the
 machine crashed and I couldn't even get a core dump. It also stoped
 durong the core dump and freezed... So I couldn't even place a PR for
 that...
 
 That was in amd64 architecture
 
 Best regards
 Elias
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to
 freebsd-questions-unsubscr...@freebsd.org

Same problem here. Writing to NTFS with fuse-ntfs is also an experience
everytime. Don't rely on that! It brought me some nerve wracking
moments.

- -- 
GnuPG: 0x4BF7D606 | Jabber: phl...@jabber.ccc.de
- --
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAkxwhv0ACgkQlOPmvEv31gYmBgCgiXfFwzJFwvEDB5igavdFlIdH
4tQAn3yjALF4/jMjE63bwF/4lOzAK+1K
=Nj/k
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org

Re: External HD

2010-08-21 Thread Jason Leschnik
Is there much Data on the disk?, it may be worth while moving to FAT32 or a
FS that is shared by both (If your happy to live with the 4GB max file
size).

On Sun, Aug 22, 2010 at 12:09 PM, Philipp Lengemann phl...@arcor.de wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Am Sat, 21 Aug 2010 20:24:14 +0300
 schrieb Elias Chrysocheris elias...@cha.forthnet.gr:

  On Saturday 21 of August 2010 20:03:02 Mario Lobo wrote:
   On Saturday 21 August 2010 13:46:43 Rem P Roberti wrote:
 Rem P Robertiremeg...@comcast.net  пишет:
I have a 500GB USB HD which I am able mount thus:
   mount_ntfs /dev/da2s1 /mnt

 Having done so I can copy from the external drive, but not
 write to it. What is necessary to implement in order to be
 able to write to an external hard drive?

 Rem

 use the port /usr/ports/sysutils/fusefs-ntfs
   
Thanks for the tip.  I have installed the port and will give it a
try, although I'm a little leery given Ryan's post.
   
Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
freebsd-questions-unsubscr...@freebsd.org
  
   Don't forget to do this:
  
   cd /sbin
   mv -f mount_ntfs mount_ntfs-kern
   ln -s /usr/local/bin/ntfs-3g mount_ntfs
  
   so you can mount your ntfs disk right from fstab.
  
   I have all my vbox vdi files on an ntfs drive and I'm yet to have a
   problem with it.
 
  Well, I used to have an external NTFS hard drive. I used fusefs-ntfs
  and I could write in the drive. But there were times where the
  machine crashed and I couldn't even get a core dump. It also stoped
  durong the core dump and freezed... So I couldn't even place a PR for
  that...
 
  That was in amd64 architecture
 
  Best regards
  Elias
  ___
  freebsd-questions@freebsd.org mailing list
  http://lists.freebsd.org/mailman/listinfo/freebsd-questions
  To unsubscribe, send any mail to
  freebsd-questions-unsubscr...@freebsd.org

 Same problem here. Writing to NTFS with fuse-ntfs is also an experience
 everytime. Don't rely on that! It brought me some nerve wracking
 moments.

 - --
 GnuPG: 0x4BF7D606 | Jabber: phl...@jabber.ccc.de
 - --
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v2.0.16 (FreeBSD)

 iEYEARECAAYFAkxwhv0ACgkQlOPmvEv31gYmBgCgiXfFwzJFwvEDB5igavdFlIdH
 4tQAn3yjALF4/jMjE63bwF/4lOzAK+1K
 =Nj/k
 -END PGP SIGNATURE-

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




-- 
Regards,
Jason Leschnik.

Mob. 0432 35 4224
Uni mail. jml...@uow.edu.au
Work mail. j...@ansto.gov.au
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: usb external hd question

2008-02-27 Thread RW
On Tue, 26 Feb 2008 19:58:14 +0100
Miguel Giral [EMAIL PROTECTED] wrote:


 also, a side question. When attaching a geli provider, i get this:
 
 GEOM_ELI: Device ad4s3.eli created.
 GEOM_ELI: Encryption: Blowfish-CBC 256
 GEOM_ELI: Crypto: software
 WARNING: Expected rawoffset 14548865, found 14548865
 
 i've been getting it since i edited the label of ad4s3.eli
 I don't really know if it's a bad thing to get that warning, since
 both numbers are the same. 

If you look at the source code (in /usr/src/sys/geom/geom_bsd.c), it's
dividing the offsets by a sector-size when it prints them out. So they
only the same when rounded-down to a sector boundary. I guess you are
using a larger sector-size for geli, and specified a fraction of a
sector somewhere in the disklabel.

BTW it doesn't make much difference, but I don't see any point in using
anything other than 448 bits for blowfish under geli. Unlike the other
ciphers, no part of its performance is affected by keysize. 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


usb external hd question

2008-02-26 Thread Miguel Giral
Hi

I bought an external usb hd but i can just get FreeBSD (both 6.2 and 7)
to recognice it if the drive is switched on and plugged in during system
boot up. Case in which i get the drive detected with both partitions i
made in it. (da0 da0s1 da0s2)
If i switch it on in an already running system, only an empty usb device
is created (da0). Anything i could do for FreeBSD to detect both
partitions if i switch the drive on in a already booted up system?


also, a side question. When attaching a geli provider, i get this:

GEOM_ELI: Device ad4s3.eli created.
GEOM_ELI: Encryption: Blowfish-CBC 256
GEOM_ELI: Crypto: software
WARNING: Expected rawoffset 14548865, found 14548865

i've been getting it since i edited the label of ad4s3.eli
I don't really know if it's a bad thing to get that warning, since both
numbers are the same. just wondering.

Thank you,
-M

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: usb external hd question

2008-02-26 Thread Joshua Isom


On Feb 26, 2008, at 12:58 PM, Miguel Giral wrote:


Hi

I bought an external usb hd but i can just get FreeBSD (both 6.2 and 7)
to recognice it if the drive is switched on and plugged in during 
system

boot up. Case in which i get the drive detected with both partitions i
made in it. (da0 da0s1 da0s2)
If i switch it on in an already running system, only an empty usb 
device

is created (da0). Anything i could do for FreeBSD to detect both
partitions if i switch the drive on in a already booted up system?



I don't know what's the proper method, but running `/etc/rc.d/devfs 
restart` seems to work for me for similar issues.




also, a side question. When attaching a geli provider, i get this:

GEOM_ELI: Device ad4s3.eli created.
GEOM_ELI: Encryption: Blowfish-CBC 256
GEOM_ELI: Crypto: software
WARNING: Expected rawoffset 14548865, found 14548865

i've been getting it since i edited the label of ad4s3.eli
I don't really know if it's a bad thing to get that warning, since both
numbers are the same. just wondering.

Thank you,
-M

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


External HD create different slice on /dev which one i need to mount...?

2006-11-22 Thread perikillo

  Hi people.

  I have one external HD:

umass0: Prolific Technology Inc. Mass Storage Device, rev 2.00/1.00, addr 2
umass0:0:0:-1: Attached to scbus0
(probe0:umass-sim0:0:0:0): error 22
(probe0:umass-sim0:0:0:0): Unretryable Error
pass0 at umass-sim0 bus 0 target 0 lun 0
pass0: WDC WD25 00JB-00REA0 20.0 Fixed Direct Access SCSI-0 device
pass0: 40.000MB/s transfers
GEOM: new disk da0
da0 at umass-sim0 bus 0 target 0 lun 0
da0: WDC WD25 00JB-00REA0 20.0 Fixed Direct Access SCSI-0 device
da0: 40.000MB/s transfers
da0: 238475MB (488397168 512 byte sectors: 255H 63S/T 30401C)

Ok i setup the HD with sysinstall and format all the disk to UFS2, this is
my entry on /dev

crw-r-  1 root  operator0, 102 Nov 14 16:39 da0
crw-r-  1 root  operator0, 103 Nov 14 16:39 da0s1
crw-r-  1 root  operator0,  86 Nov 14 16:39 da0s1c
crw-r-  1 root  operator0,  87 Nov 14 16:39 da0s1d

Now which one i need to mount each time i need to use this HD...?

I create one mount point, /ext, FreeBSD the first time use /dev/da0s1d, them
if i want to mount that one, it send this message:

WARNING: /ext was not properly dismounted

No metter which one i use, da0s1, da0s1c, da0s1d always send this message,
this is normal...?

mount /dev/da0s1 /ext
mount /dev/da0s1c /ext
mount /dev/da0s1d /ext

Always: WARNING: /ext was not properly dismounted

Any idea about this...?

Im using FreeBSD 6.1-p10, my machine has 6 USB ports i have been testing
with all and the same message.

Thanks all for your time!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: External HD create different slice on /dev which one i need to mount...?

2006-11-22 Thread Norberto Meijome
On Wed, 22 Nov 2006 17:37:52 -0800
perikillo [EMAIL PROTECTED] wrote:

 mount /dev/da0s1 /ext
this is the slice, dont use it
 mount /dev/da0s1c /ext
this is the raw partition, DONT use c - ever, unless u really (think you) know
what you are doing 

 mount /dev/da0s1d /ext

bing

 
 Always: WARNING: /ext was not properly dismounted
 
 Any idea about this...?

yes, last time you mounted da0s1d , u didnt unmounted it cleanly. Before you
mount, you should run fsck -p on it:
(as root, or with sudo)

fsck -p -t ufs /dev/da0s1d


 
 Im using FreeBSD 6.1-p10, my machine has 6 USB ports i have been testing
 with all and the same message.

of course, it is nothing to do with the usb itself, it's a filesystem issue.
_
{Beto|Norberto|Numard} Meijome

The music business is a cruel and shallow money trench, a long plastic hallway
where thieves and pimps run free, and good men die like dogs. There's also a
negative side. Hunter S. Thompson

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: External HD create different slice on /dev which one i need to mount...?

2006-11-22 Thread perikillo

On 11/22/06, Norberto Meijome [EMAIL PROTECTED] wrote:


On Wed, 22 Nov 2006 17:37:52 -0800
perikillo [EMAIL PROTECTED] wrote:

 mount /dev/da0s1 /ext
this is the slice, dont use it
 mount /dev/da0s1c /ext
this is the raw partition, DONT use c - ever, unless u really (think you)
know
what you are doing

 mount /dev/da0s1d /ext

bing


 Always: WARNING: /ext was not properly dismounted

 Any idea about this...?

yes, last time you mounted da0s1d , u didnt unmounted it cleanly. Before
you
mount, you should run fsck -p on it:
(as root, or with sudo)

fsck -p -t ufs /dev/da0s1d



 Im using FreeBSD 6.1-p10, my machine has 6 USB ports i have been testing
 with all and the same message.

of course, it is nothing to do with the usb itself, it's a filesystem
issue.
_
{Beto|Norberto|Numard} Meijome

The music business is a cruel and shallow money trench, a long plastic
hallway
where thieves and pimps run free, and good men die like dogs. There's also
a
negative side. Hunter S. Thompson

I speak for myself, not my employer. Contents may be hot. Slippery when
wet.
Reading disclaimers makes you go blind. Writing them is worse. You have
been
Warned.



Thanks Norberto for your answer i got it, right now im testing the HD on my
laptop, is working really good.

See you!!!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]