Prev: PCA: howto configure a Sun Online Account w/o
Next: Anyone have a date for the next OpenSolaris ?
From: Guitar65 on 28 Nov 2009 16:41 hi all, i have to increase a SAMFS filesystem because the original one is 200gb and on hte attached tape library there are more then 20TB. I've seen that every time i transfer data from tape to the application, the files are staged because they're not anymore on cache Ifi try to prefetch the files loading some of the dir (stage -r /SAMFS/dir1) the old files are released to make room.. For this i'd like to replace the samfs filesystem with a bigger one (2-3 TB). Can i simply format the new disk in SAMFS fs and copy the old disk to the new one? OS version is solaris 9(04/03 sparc) and samfs version is 4.2 Thanks to everybody.... Paolo
From: Udo Toedter on 2 Dec 2009 09:13 Guitar65 wrote: > hi all, > i have to increase a SAMFS filesystem because the original one is 200gb > and on hte attached tape library there are more then 20TB. > > I've seen that every time i transfer data from tape to the application, > the files are staged because they're not anymore on cache > > Ifi try to prefetch the files loading some of the dir (stage -r > /SAMFS/dir1) the old files are released to make room.. > > For this i'd like to replace the samfs filesystem with a bigger one (2-3 > TB). Can i simply format the new disk in SAMFS fs and copy the old disk > to the new one? Copy may take a long time, and maybe abort, so use rsync instead. But that very painfull, because it implies staging of each file. Its better to use the following: 1. Do a samfsdump to save the inode information to a file. 2. umount old filesystem 3. change the mcf file to your new disk setup 4. samd config to read the changes 5. sammkfs to create a new file system 6. samfsrestore to restore the data. 7. stage the files you need Udo -- +-----------------------------------------------------------------+ |Udo Toedter| FSU Jena|Email: |Phone +493641940532| | | URZ |Udo.Toedter(a)uni-jena.de|FAX +493641940632| +-----------------------------------------------------------------+
From: Guitar65 on 4 Dec 2009 13:07 Udo Toedter ha scritto: > Guitar65 wrote: >> hi all, >> i have to increase a SAMFS filesystem because the original one is >> 200gb and on hte attached tape library there are more then 20TB. >> >> I've seen that every time i transfer data from tape to the >> application, the files are staged because they're not anymore on cache >> >> Ifi try to prefetch the files loading some of the dir (stage -r >> /SAMFS/dir1) the old files are released to make room.. >> >> For this i'd like to replace the samfs filesystem with a bigger one >> (2-3 TB). Can i simply format the new disk in SAMFS fs and copy the >> old disk to the new one? > > Copy may take a long time, and maybe abort, so use rsync instead. > > But that very painfull, because it implies staging of each file. Its > better to use the following: > > 1. Do a samfsdump to save the inode information to a file. > 2. umount old filesystem > 3. change the mcf file to your new disk setup > 4. samd config to read the changes > 5. sammkfs to create a new file system > 6. samfsrestore to restore the data. > 7. stage the files you need > > > Udo > Hi, thanks a lot for the answer, instead of replacing the samfs partition ii found (readeing the manual) the way to add more filesystems to the existing one using samgrowfs Is very esay and downtime is only few minutes, i'll use your list as giude for what i did ... regards Paolo > 1. Do a samfsdump to save the inode information to a file. (better to doit anyway even not needed) > 2. umount old filesystem > 3. samd stop > 4. change the mcf file adding new disks after the existing one > 5. samd config to read the changes > 6. samgrowfs to create a new file system > 7. samd start > 8. stage the files you need
|
Pages: 1 Prev: PCA: howto configure a Sun Online Account w/o Next: Anyone have a date for the next OpenSolaris ? |