From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII X-Google-Thread: fee84,2b6868f466cd4a7f,start X-Google-Attributes: gidfee84,public From: Hans Westerback Subject: Extending LSM volumes Date: 1998/10/08 Message-ID: <361C7D15.4945CA2E@unixcenter.ericsson.se>#1/1 X-Deja-AN: 398934020 Content-Transfer-Encoding: 8bit Organization: N/DMU Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1 Hi, a question re DUNIX 4.0d and LSM, running AdvFs (but not advfs-utilities) Can someone tell me if there is a correct way to do this: Scenario: I have a filesystem which is an Advfs fileset, mirrored via LSM. It needs extending, and there is no more space available on this disk. As we don't have advfs utilities I can use the growfs. My idea to do this on the fly was this: Plug in two new disks and makedev to see them. Works OK. Add them to LSM. Dissociate one of the plexes from the original LSM volume. Make a new larger plex from the new disk. Associate this plex to the old volume, when the mirroring is done, then dissociate the other original plex, and mirror again to the other new disk. Problem is that even though the new plex is large enough, the volume is still the original size. What I finally did was to again dissociate the new larger plex from the volume, unmount the filesystem, make a new larger volume using the new plex. But now I couldn't use the volume until I had done a volume init active. And when mounting it the data was gone. Of course I had tarred it so no problem... But could I have done it without unmounting ? Or if not could I have kept the data on the new plex, thus avoiding restore? Rgds, Hans Westerback Ericsson Data -- Hans Westerback * E-Mail : hans.westerback@edt.ericsson.se LM Ericsson Data AB * Memo : edt.edthwes G�talandsv�gen 230 * Phone : +46-8-7262652 S-125 82 Stockholm * Fax : +46-8-7217131