Given what their request is - symlinks for their hardcoded stuff seems like your only easy option.
I will add that if their requirement is to merge to /opt/IBM1 -- then this has a prerequisite of eliminating those hard coded links. Wherever those links are used should probably be gotten from some kind of control file (dir=/opt/IBM1) or environment variable rather than actually specifying the directory in the code. Symlinks can provide a bandaid - but shouldn't be considered a 'real' fix.. (imho) Scott On Tue, May 12, 2009 at 5:38 PM, Lee Stewart <[email protected] > wrote: > I have a customer that has an odd DASD & directory layout, and we're > trying to expand the space, and simplify the directories at the same > time... > > Today they have (not all branches shown): > / - root file system - mod 3 - 50% full > /opt/IBM - mod 9 - 80% full > /opt/IBM1 - mod 9 - 88% full > /opt/IBM2 - mod 27- 10% full > > Their request... Merge /opt/IBM1 and /opt/IBM2 into an LVM with all > the space of the mod 9 + the mod 27, in the filetree as /opt/IBM1. > > At first look, it looks like they can be merged with no overlap. BUT, > two of the directories in /opt/IBM2 (the one that's going away) are > WebSphere instances, both with lots of hardcoded instances of /opt/IBM2... > > IF (big if) they will merge without overlap, can I put the new LVM > online at /opt/IBM1 (where all the stuff that was on /opt/IBM1 will > continue to run). And put a synlink in /opt as /opt/IBM2 that points > to /opt/IBM1 (so all the stuff that was in /opt/IBM2 will also continue > to run. > > With the flock of applications and middle ware they have on this > machine, I really don't want to have to start from scratch and reinstall > everything... > > Thoughts? > Lee > > > -- > > Lee Stewart, Senior SE > Sirius Computer Solutions > Phone: (303) 996-7122 > Email: [email protected] > Web: www.siriuscom.com > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO LINUX-390 or > visit > http://www.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390
