unionfs pres / vrchni vrstva na vzdalenem NFS serveru
Daniel Dvořák
daniel-dvorak at atlas.cz
Wed Jun 6 15:55:04 CEST 2007
Ahoj vsichni,
muzete mi poradit zdali to co zamyslim je realne a je to mozno realizovat ?
Jde o nasledujici, mam nainstalovano fbsd-6-stable s poslednim diff-19
patchem pro unionfs a prekompilovany kernel s novym unionfs
a chtel bych nasledujici:
/dev/ad0s1a je read only po celou dobu
v /rc.conf je zakazano vytvaret mdconfigem var a tmp oddíl
do adresare /unionfs je namoutovan vzdaleny NFS adresar s pravem
zapisovat, no_all_squash ci no_root_squash, sync atd.
unionfs ma mit vrchni vrstvu ukladanou prave na ten NFS
spodni je cely / v ro
kdyz jsem zkusil spustit po namoutovani nfs do /unionfs adresare
tento prikaz objevila se hlaseni se kterym si nevim rady asi proto ze
neco delam spatne.
The mount_unionfs utility attaches directory above uniondir in such a way
that the contents of both directory trees remain visible. By default,
directory becomes the upper layer and uniondir becomes the lower layer.
takze directory je tu /unionfs
a spodni vrstva je tu cely /
# mount -t unionfs /unionfs /
mount_unionfs: /unionfs (/unionfs) and / (/) are not distinct paths
# mount -t unionfs /unionfs /dev/ad0s1a po vrozu s cdromkou
mount: /dev/ad0s1a: not a directory
nicmene pro /var
# mount -t unionfs /unionfs /var
# mount
/dev/ad0s1a on / (ufs, NFS exported, local)
devfs on /dev (devfs, local)
/dev/ad0s2a on /free (ufs, local, soft-updates)
procfs on /proc (procfs, local)
<above>:/unionfs on /var (unionfs, local)
NFS:/home/buffer on /unionfs (nfs)
Tak to vypada, ze postupovat takto s celym mount pointem / asi nelze co ?
S pozdravem
Dan
More information about the Users-l
mailing list