RE: NFS exporting mounted msdosfs subdir

2010-01-21 Thread sbremal

Hello,

Found another supporting argument that an MSDOSFS path should be able to be 
exported through NFS is that -- beside UFS -- CDFS is also working fine.

Whom would be the right forum / person to address the below error to? Checked 
the man for nfsd and no contact is mentioned there.

22:47:45.184593 IP 10.0.0.4.1973235244 10.0.0.2.nfs: 116 readdir [|nfs]
22:47:45.184707 IP 10.0.0.2.nfs 10.0.0.4.1973235244: reply ok 608 readdir
22:47:45.186389 IP 10.0.0.4.1973235245 10.0.0.2.nfs: 120 readdirplus [|nfs]
22:47:45.186499 IP 10.0.0.2.nfs 10.0.0.4.1973235245: reply ok 116 readdirplus 
ERROR: Operation not supported

Thanks,
Balazs

 From: sbre...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Date: Thu, 14 Jan 2010 18:46:45 +
 Subject: RE: NFS exporting mounted msdosfs subdir
 
 
 Hi,
  
 A quick search on the internet shows that people use msdosfs with NFS, at 
 least on NetBSD (sorry):
  
 http://arkiv.netbsd.se/?ml=dfbsd-bugsa=2004-04t=104901
  
 My FreeBSD mount also shows that the msdosfs mount point is NFS exported. So, 
 from the side of whether nfsd supports msdosfs, I am convinced.
  
 Any further idea for this error:
  
 22:47:45.184593 IP 10.0.0.4.1973235244 10.0.0.2.nfs: 116 readdir [|nfs]
 22:47:45.184707 IP 10.0.0.2.nfs 10.0.0.4.1973235244: reply ok 608 readdir
 22:47:45.186389 IP 10.0.0.4.1973235245 10.0.0.2.nfs: 120 readdirplus [|nfs]
 22:47:45.186499 IP 10.0.0.2.nfs 10.0.0.4.1973235245: reply ok 116 
 readdirplus ERROR: Operation not supported
  
 ?
 
 -Balazs
 
 From: cswi...@mac.com
 Date: Wed, 13 Jan 2010 14:24:55 -0800
 To: sbre...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: NFS exporting mounted msdosfs subdir
 
 Hi--
 
 On Jan 13, 2010, at 1:52 PM, sbre...@hotmail.com wrote:
 Anyone has got an idea how this can be resolved? Thanks.
 
 Does FreeBSD even support NFS-exporting a locally mounted MS-DOS filesystem? 
 Traditionally, NFS was implemented over the default UFS filesystem and it 
 was common for other filesystem typess to not be exportable
 
 -- 
 -Chuck
 
 ___
 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 
   
 _
 Windows Live: Friends get your Flickr, Yelp, and Digg updates when they 
 e-mail you.
 http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
 ___
 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
  
_
Windows Live: Keep your friends up to date with what you do online.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_1:092010
___
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: NFS exporting mounted msdosfs subdir

2010-01-14 Thread sbremal

Hi,
 
A quick search on the internet shows that people use msdosfs with NFS, at least 
on NetBSD (sorry):
 
http://arkiv.netbsd.se/?ml=dfbsd-bugsa=2004-04t=104901
 
My FreeBSD mount also shows that the msdosfs mount point is NFS exported. So, 
from the side of whether nfsd supports msdosfs, I am convinced.
 
Any further idea for this error:
 
22:47:45.184593 IP 10.0.0.4.1973235244 10.0.0.2.nfs: 116 readdir [|nfs]
22:47:45.184707 IP 10.0.0.2.nfs 10.0.0.4.1973235244: reply ok 608 readdir
22:47:45.186389 IP 10.0.0.4.1973235245 10.0.0.2.nfs: 120 readdirplus [|nfs]
22:47:45.186499 IP 10.0.0.2.nfs 10.0.0.4.1973235245: reply ok 116 readdirplus 
ERROR: Operation not supported
 
?

-Balazs

 From: cswi...@mac.com
 Date: Wed, 13 Jan 2010 14:24:55 -0800
 To: sbre...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: NFS exporting mounted msdosfs subdir
 
 Hi--
 
 On Jan 13, 2010, at 1:52 PM, sbre...@hotmail.com wrote:
 Anyone has got an idea how this can be resolved? Thanks.
 
 Does FreeBSD even support NFS-exporting a locally mounted MS-DOS filesystem? 
 Traditionally, NFS was implemented over the default UFS filesystem and it was 
 common for other filesystem typess to not be exportable
 
 -- 
 -Chuck
 
 ___
 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  
   
_
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
___
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: NFS exporting mounted msdosfs subdir

2010-01-13 Thread sbremal

Hello,
 
A mounted msdosfs (USD flash drive) path is exported from FreeBSD. The client 
(Windows with SFU 3.5) maps the remote NFS path successfully to a local drive 
(net use ...).
 
However, when the drive is opened (dir ...), the client gets into an endless 
loop. What I have discovered on FreeBSD is:
 
---
 
22:47:45.183215 IP 10.0.0.2.nfs 10.0.0.4.1973235243: reply ok 116 readdirplus 
ERROR: Operation not supported
22:47:45.184593 IP 10.0.0.4.1973235244 10.0.0.2.nfs: 116 readdir [|nfs]
22:47:45.184707 IP 10.0.0.2.nfs 10.0.0.4.1973235244: reply ok 608 readdir
22:47:45.186389 IP 10.0.0.4.1973235245 10.0.0.2.nfs: 120 readdirplus [|nfs]
22:47:45.186499 IP 10.0.0.2.nfs 10.0.0.4.1973235245: reply ok 116 readdirplus 
ERROR: Operation not supported
22:47:45.187898 IP 10.0.0.4.1973235246 10.0.0.2.nfs: 116 readdir [|nfs]
22:47:45.188011 IP 10.0.0.2.nfs 10.0.0.4.1973235246: reply ok 608 readdir
22:47:45.189828 IP 10.0.0.4.1973235247 10.0.0.2.nfs: 120 readdirplus [|nfs]
22:47:45.189933 IP 10.0.0.2.nfs 10.0.0.4.1973235247: reply ok 116 readdirplus 
ERROR: Operation not supported
22:47:45.191358 IP 10.0.0.4.1973235248 10.0.0.2.nfs: 116 readdir [|nfs]
 
---
 
With no end...
 
Anyone has got an idea how this can be resolved? Thanks.
 
Cheers,
Balazs

 Date: Sun, 10 Jan 2010 04:50:18 -0700
 From: fb...@peterk.org
 To: sbre...@hotmail.com
 CC: freebsd-questions@freebsd.org
 Subject: Re: NFS exporting mounted msdosfs subdir
 

 Hello,

 There is an issue with my exported home folder. It has a subdirectory
 under which an msdosfs pen drive is mounted. The home folder gets exported
 nicely however the msdos subdirectory is not!

 Any idea how this could be solved?

 Some useful extracts:

 ---

 babapc# more /etc/fstab
 # DeviceMountpoint  FStype 
 Options DumpPass#
 /dev/ad4s1b noneswap   
 sw  0   0
 /dev/ad4s1a /   ufs
 rw  1   1
 /dev/ad4s1e /tmpufs
 rw  2   2
 /dev/ad4s1f /usrufs
 rw  2   2
 /dev/ad4s1d /varufs
 rw  2   2
 /dev/acd0   /cdrom  cd9660 
 ro,noauto   0   0
 /dev/da0s1  /usr/home/sbremal/usb_flash_drive   msdosfs
 rw,noauto   0   0

 babapc# more /etc/exports
 #The following examples export /usr to 3 machines named after ducks,
 #/usr/src and /usr/obj read-only to machines named after trouble makers,
 #/home and all directories under it to machines named after dead rock
 stars
 #and, /a to a network of privileged machines allowed to write on it as
 root.
 #/usr   huey louie dewie
 #/usr/src /usr/obj -ro  calvin hobbes
 #/home   -alldirs   janice jimmy frank
 #/a  -maproot=0  -network 10.0.1.0 -mask 255.255.248.0
 #
 # You should replace these lines with your actual exported filesystems.
 # Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric'
 one.
 /usr/home/sbremal

 babapc# mount
 /dev/ad4s1a on / (ufs, local)
 devfs on /dev (devfs, local)
 /dev/ad4s1e on /tmp (ufs, local, soft-updates)
 /dev/ad4s1f on /usr (ufs, NFS exported, local, soft-updates)
 /dev/ad4s1d on /var (ufs, local, soft-updates)
 /dev/da0s1 on /usr/home/sbremal/usb_flash_drive (msdosfs, local)
 10.0.0.2:/usr/home/sbremal on /root/x (nfs)

 babapc# ls /root/x/usb_flash_drive/

 - Nothing!!!

 babapc# ls /usr/home/sbremal/usb_flash_drive/
 @Nokia  Images
 Backup

 ---

 Any help would be much appreciated.

 (Would freebsd-fs be more appropriate to ask the question on?)

 Cheers,
 Balazs
 
 You will need to export '/usr/home/sbremal/usb_flash_drive' also since it
 is another filesystem, not just a subdirectory.
 [reason you can see the subdirectory, but not the actual FS mounted in
 there]
 
 ]Peter[
 
 ___
 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  
   
_
Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail 
you.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_3:092010
___
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


NFS exporting mounted msdosfs subdir

2010-01-10 Thread sbremal

Hello,

There is an issue with my exported home folder. It has a subdirectory under 
which an msdosfs pen drive is mounted. The home folder gets exported nicely 
however the msdos subdirectory is not!

Any idea how this could be solved?

Some useful extracts:

---

babapc# more /etc/fstab
# Device    Mountpoint  FStype  
Options Dump    Pass#
/dev/ad4s1b none    swap    
sw  0   0
/dev/ad4s1a /   ufs 
rw  1   1
/dev/ad4s1e /tmp    ufs 
rw  2   2
/dev/ad4s1f /usr    ufs 
rw  2   2
/dev/ad4s1d /var    ufs 
rw  2   2
/dev/acd0   /cdrom  cd9660  
ro,noauto   0   0
/dev/da0s1  /usr/home/sbremal/usb_flash_drive   msdosfs 
rw,noauto   0   0

babapc# more /etc/exports
#The following examples export /usr to 3 machines named after ducks,
#/usr/src and /usr/obj read-only to machines named after trouble makers,
#/home and all directories under it to machines named after dead rock stars
#and, /a to a network of privileged machines allowed to write on it as root.
#/usr   huey louie dewie
#/usr/src /usr/obj -ro  calvin hobbes
#/home   -alldirs   janice jimmy frank
#/a  -maproot=0  -network 10.0.1.0 -mask 255.255.248.0
#
# You should replace these lines with your actual exported filesystems.
# Note that BSD's export syntax is 'host-centric' vs. Sun's 'FS-centric' one.
/usr/home/sbremal

babapc# mount
/dev/ad4s1a on / (ufs, local)
devfs on /dev (devfs, local)
/dev/ad4s1e on /tmp (ufs, local, soft-updates)
/dev/ad4s1f on /usr (ufs, NFS exported, local, soft-updates)
/dev/ad4s1d on /var (ufs, local, soft-updates)
/dev/da0s1 on /usr/home/sbremal/usb_flash_drive (msdosfs, local)
10.0.0.2:/usr/home/sbremal on /root/x (nfs)

babapc# ls /root/x/usb_flash_drive/

- Nothing!!!

babapc# ls /usr/home/sbremal/usb_flash_drive/
@Nokia  Images
Backup

---

Any help would be much appreciated.

(Would freebsd-fs be more appropriate to ask the question on?)

Cheers,
Balazs
_
Keep your friends updated—even when you’re not signed in.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_5:092010
___
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


/etc/groups gone

2008-08-21 Thread sbremal

Hi,

Yesterday night at 1 a.m. I have managed to remove /etc/groups (rm instead of 
vi, was already sleepying). Luckily only a few groups (2-3) was created 
earlier. No backup, of course.

I believe the file system is still correct, it uses group IDs instead of names 
(?). Though ls does not show the correct group names (only IDs) and creating 
new groups will reuse the old group IDs.

Is there any better way of rebuilding /etc/groups than guessing and manually 
adding one-by-one.

Can I somehow list all group IDs used by the file system?

Many thanks.

Balazs
_
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: /etc/groups gone

2008-08-21 Thread sbremal

Great help from all of you! Thank you, Balazs


 Date: Thu, 21 Aug 2008 21:43:06 +0200
 From: [EMAIL PROTECTED]
 To: freebsd-questions@FreeBSD.ORG; [EMAIL PROTECTED]
 Subject: Re: /etc/groups gone
 
 [EMAIL PROTECTED] wrote:
  Yesterday night at 1 a.m. I have managed to remove /etc/groups (rm
  instead of vi, was already sleepying). Luckily only a few groups
  (2-3) was created earlier. No backup, of course.
 
 Yes, there is a backup.  Restore from /var/backups/group.bak.
 
 Best regards
Oliver
 
 -- 
 Oliver Fromme, secnetix GmbH  Co. KG, Marktplatz 29, 85567 Grafing b. M.
 Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
 secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
 chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart
 
 FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd
 
 C++ is to C as Lung Cancer is to Lung.
 -- Thomas Funke
_
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vistamkt=en-USform=QBRE___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]