[Samba] can't write superblock
Tom Skeren
tms3 at fskklaw.com
Thu Aug 19 21:14:24 GMT 2004
Let's see, you first do this on server2
1. mkdir /Shared
2. mount_smbfs //server1/Shared /Shared
3. On server2 you rm -R /Shared.
If so this is a bad thing. You have two choices here. ssh to server 1
and do that function on server1. Or cd /Shared and rm the stuff in
there. You can't delete the mount point and then recreate the mount
point, then remount the shared drive.
nina wrote:
> /shared is actually the copy of one of mine folder which is updated
> everyday. That's why I need to remove /Shared and recreate it.
>
> rm -Rf /Shared
> cp -R /myDir /Shared
>
>
> Tom Skeren wrote:
>
>> nina wrote:
>>
>>> Hi I have 2 servers. server 1(Fedora Core 2) shares /Shared with
>>> rwxrwx, server2(Redhat linux 9) mount to /Shared from server 1. When
>>> I did smbmount from server2, Shared is successfully mounted. I then
>>> remove /Shared
>>
>>
>>
>> Huh? What do you mean remove /Shared?
>>
>>> and recreate /Shared from server 1,
>>
>>
>>
>> Again sorry, Huh? Please explain precisely.
>>
>>> I started having problem from server 2. when I do mount, it still
>>> show Shared is mounted, but when I do ls -l / , it displays /Shared
>>> Input/Output error.
>>> I can't unmount /Shared after that. When I try to umount, it
>>> dislays can't write superblock. Can anybody tell me what's happening
>>> here? How can I fix it? If nothing I can do, reboot the system will
>>> umount /Shared?
>>>
>>
>>
>>
>
>
More information about the samba
mailing list