Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2003 14:09:46 -0500
From:      Chuck Swiger <cswiger@mac.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Resizing partitions for 5.0
Message-ID:  <3E2AF7FA.5060905@mac.com>
References:  <20030119123534.GB27061@jrpenn.demon.co.uk> <20030119131519.GA83512@grummit.biaix.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Joan Picanyol i Puig wrote:
[ ... ]
> I separate the namespace from storage type. See
> http://multivac.cwru.edu/fs/ (mind the trailing slash) for the original
> idea.

Absolutely.  Note that you can do similiar things via NFS mounts:

1-pong# showmount -e
export list for pong:
/Disks/d60 @12.38.161/25
/Disks/d70 @12.38.161/25
/export    @12.38.161/25

2-pong# cd /export
3-pong# ls                                                            /export
Backups@   Darwin@    Library@   Packages@  Solaris@   cvsroot@   temp@
CodeFab@   Java@      OPENSTEP@  Projects@  Win32@     home@
4-pong# ls -l
total 13
lrwxrwxrwx   1 root           20 Jan  2  2002 Backups -> ../Disks/d70/Backups/
lrwxrwxrwx   1 root           20 Jan  2  2002 CodeFab -> ../Disks/d70/CodeFab/
lrwxrwxrwx   1 root           19 Jan  2  2002 Darwin -> ../Disks/d70/Darwin/
lrwxrwxrwx   1 root           17 Jan  2  2002 Java -> ../Disks/d70/Java/
lrwxrwxrwx   1 root           20 Jan  2  2002 Library -> ../Disks/d70/Library/
lrwxrwxrwx   1 root           21 Jan  2  2002 OPENSTEP -> ../Disks/d70/OPENSTEP/
lrwxrwxrwx   1 root           21 Jan  2  2002 Packages -> ../Disks/d70/Packages/
lrwxrwxrwx   1 root           21 Jan  2  2002 Projects -> ../Disks/d70/Projects/
lrwxrwxrwx   1 root           18 Oct  7 17:25 Solaris -> /Disks/d70/Solaris/
lrwxrwxrwx   1 root           18 Jan  2  2002 Win32 -> ../Disks/d70/Win32/
lrwxrwxrwx   1 root           20 Jan  3  2002 cvsroot -> ../Disks/d70/cvsroot/
lrwxrwxrwx   1 root           17 Jan  2  2002 home -> ../Disks/d60/home/
lrwxrwxrwx   1 root           17 Jan  2  2002 temp -> ../Disks/d70/temp/

...clients mount pong:/export/Solaris (or whatever), and the symlink will 
cause them to access the actual file location in /Disks/dXX, which are a set 
of DiskSuite RAID-1,0 metadevices, similar to vinum.  This way, I can move 
large trees of stuff between filesystem locations in order to balance space of 
I/O utilization, only change the symlink, and not have to change any of the 
clients or take anything down.

[ My users do as much I/O to their home directories as they do to everything 
else combined, pretty much. ]

-Chuck


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E2AF7FA.5060905>