![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, We're running Suse Linux Enterprise Server on x86 and with the latest SLES11SP1 release notes comes this announcement: "The RAW devices are deprecated and will be removed with one of the next Service Packs or SUSE Linux Enterprise Server 12." I'm about to reinstall Informix onto new drives so might as well migrate to cooked files. What filesystem is recommended? Are there any significant performance issues nowadays? Currently I have two raw devices which contain a total of 18 chunks. I would like to see them as 18 files on four different drives/partitions after the migration. I can't find any documentation on migrating to cooked files. Is this even possible? Using Informix 11.50.UC7. Regards, Aleksander Kamenik System Administrator Krediidiinfo AS an Experian Company Phone: +372 665 9649 Email: aleksander (AT) krediidiinfo (DOT) ee http://www.krediidiinfo.ee/ http://www.experiangroup.com/ _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#3
| |||
| |||
|
|
Yeah, Linus has been trying to get rid of RAW files for many years.* I wish he'd just give it up.* Anyway, there is no problem using cooked files, and migrating the data is as simple as dd'ing the data from the RAW devices to new filesystem files and then relinking the link paths that IDS using to access the RAW devices to the filesystem files.* You should use the simplest filesystem available, no journalled filesystems like EXT3 and EXT4.* I would suggest just using an old EXT2 filesystem as the best choice.* It's very low overhead compared to the more modern filesystems. Another option, BTW, would be to use COOKED (aka block) devices rather than filesystem files.* COOKED devices tend to be a little faster than filesystem files even with DIRECT_IO enabled on both. Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art (AT) iiug (DOT) org) Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, orby inference.* Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Wed, Aug 25, 2010 at 10:43 AM, Aleksander Kamenik aleksander (AT) krediidiinfo (DOT) ee> wrote: Hi, We're running Suse Linux Enterprise Server on x86 and with the latest SLES11SP1 release notes comes this announcement: "The RAW devices are deprecated and will be removed with one of the next Service Packs or SUSE Linux Enterprise Server 12." I'm about to reinstall Informix onto new drives so might as well migrate to cooked files. What filesystem is recommended? Are there any significant performance issues nowadays? Currently I have two raw devices which contain a total of 18 chunks. I would like to see them as 18 files on four different drives/partitions after the migration. I can't find any documentation on migrating to cooked files. Is this even possible? Using Informix 11.50.UC7. Regards, Aleksander Kamenik System Administrator Krediidiinfo AS an Experian Company Phone: +372 665 9649 Email: aleksander (AT) krediidiinfo (DOT) ee http://www.krediidiinfo.ee/ http://www.experiangroup.com/ _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#4
| ||||
| ||||
|
|
Yeah, Linus has been trying to get rid of RAW files for many years. I wish he'd just give it up. Anyway, there is no problem using cooked files, and migrating the data is as simple as dd'ing the data from the RAW devices to new filesystem files and then relinking the link paths that IDS using to access the RAW devices to the filesystem files. |
|
You should use the simplest filesystem available, no journalled filesystems like EXT3 and EXT4. I would suggest just using an old EXT2 filesystem as the best choice. It's very low overhead compared to the more modern filesystems. |
|
Another option, BTW, would be to use COOKED (aka block) devices rather than filesystem files. COOKED devices tend to be a little faster than filesystem files even with DIRECT_IO enabled on both. |
|
Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art (AT) iiug (DOT) org) Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Wed, Aug 25, 2010 at 10:43 AM, Aleksander Kamenik aleksander (AT) krediidiinfo (DOT) ee> wrote: Hi, We're running Suse Linux Enterprise Server on x86 and with the latest SLES11SP1 release notes comes this announcement: "The RAW devices are deprecated and will be removed with one of the next Service Packs or SUSE Linux Enterprise Server 12." I'm about to reinstall Informix onto new drives so might as well migrate to cooked files. What filesystem is recommended? Are there any significant performance issues nowadays? Currently I have two raw devices which contain a total of 18 chunks. I would like to see them as 18 files on four different drives/partitions after the migration. I can't find any documentation on migrating to cooked files. Is this even possible? Using Informix 11.50.UC7. Regards, Aleksander Kamenik System Administrator Krediidiinfo AS an Experian Company Phone: +372 665 9649 Email: aleksander (AT) krediidiinfo (DOT) ee http://www.krediidiinfo.ee/ http://www.experiangroup.com/ _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#5
| ||||
| ||||
|
|
Yeah, Linus has been trying to get rid of RAW files for many years. I wish he'd just give it up. Anyway, there is no problem using cooked files, and migrating the data is as simple as dd'ing the data from the RAW devices to new filesystem files and then relinking the link paths that IDS using to access the RAW devices to the filesystem files. This would create 2 files instead of 2 raw devices. Any way to split the raw device into separate files where each file would corresponding to a chunk? I think it might be possible using dd's skip and count options. |
|
How I can I change paths in Informix? root dbs is specified in the onconfig file and that's in one chunk fortunately, but I don't know how to change the paths for all the other chunks. I also don't know what you mean by relinking. |
|
You should use the simplest filesystem available, no journalled filesystems like EXT3 and EXT4. I would suggest just using an old EXT2 filesystem as the best choice. It's very low overhead compared to the more modern filesystems. Makes sense, thanks. Another option, BTW, would be to use COOKED (aka block) devices rather than filesystem files. COOKED devices tend to be a little faster than filesystem files even with DIRECT_IO enabled on both. What do you mean by that; that each chunk or set of chunks would have their own partition on disk? So instead on /dev/raw/raw1 I'd have /dev/sda1 for example? |
| Aleksander Kamenik System Administrator Krediidiinfo AS an Experian Company Phone: +372 665 9649 Email: aleksander (AT) krediidiinfo (DOT) ee http://www.krediidiinfo.ee/ http://www.experiangroup.com/ Art Art S. Kagel Advanced DataTools (www.advancedatatools.com) IIUG Board of Directors (art (AT) iiug (DOT) org) Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference. Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves. On Wed, Aug 25, 2010 at 10:43 AM, Aleksander Kamenik aleksander (AT) krediidiinfo (DOT) ee> wrote: Hi, We're running Suse Linux Enterprise Server on x86 and with the latest SLES11SP1 release notes comes this announcement: "The RAW devices are deprecated and will be removed with one of the next Service Packs or SUSE Linux Enterprise Server 12." I'm about to reinstall Informix onto new drives so might as well migrate to cooked files. What filesystem is recommended? Are there any significant performance issues nowadays? Currently I have two raw devices which contain a total of 18 chunks. I would like to see them as 18 files on four different drives/partitions after the migration. I can't find any documentation on migrating to cooked files. Is this even possible? Using Informix 11.50.UC7. Regards, Aleksander Kamenik System Administrator Krediidiinfo AS an Experian Company Phone: +372 665 9649 Email: aleksander (AT) krediidiinfo (DOT) ee http://www.krediidiinfo.ee/ http://www.experiangroup.com/ _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
#6
| |||
| |||
|
|
Hi, We're running Suse Linux Enterprise Server on x86 and with the latest SLES11SP1 release notes comes this announcement: "The RAW devices are deprecated and will be removed with one of the next Service Packs or SUSE Linux Enterprise Server 12." I'm about to reinstall Informix onto new drives so might as well migrate to cooked files. What filesystem is recommended? Are there any significant performance issues nowadays? Currently I have two raw devices which contain a total of 18 chunks. I would like to see them as 18 files on four different drives/partitions after the migration. I can't find any documentation on migrating to cooked files. Is this even possible? Using Informix 11.50.UC7. Regards, Aleksander Kamenik System Administrator Krediidiinfo AS an Experian Company Phone: +372 665 9649 Email: aleksander (AT) krediidiinfo (DOT) ee http://www.krediidiinfo.ee/ http://www.experiangroup.com/ Hello, |
#7
| |||
| |||
|
| On Wed, Aug 25, 2010 at 3:43 PM, Aleksander Kamenik aleksander (AT) krediidiinfo (DOT) ee> wrote: Hi, We're running Suse Linux Enterprise Server on x86 and with the latest SLES11SP1 release notes comes this announcement: "The RAW devices are deprecated and will be removed with one of the next Service Packs or SUSE Linux Enterprise Server 12." I'm about to reinstall Informix onto new drives so might as well migrate to cooked files. What filesystem is recommended? Are there any significant performance issues nowadays? Currently I have two raw devices which contain a total of 18 chunks. I would like to see them as 18 files on four different drives/partitions after the migration. I can't find any documentation on migrating to cooked files. Is this even possible? Using Informix 11.50.UC7. Regards, Aleksander Kamenik System Administrator Krediidiinfo AS an Experian Company Phone: +372 665 9649 Email: aleksander (AT) krediidiinfo (DOT) ee http://www.krediidiinfo.ee/ http://www.experiangroup.com/ Hello, Yes, it's possible. You should use a non journalled filesystem (search for recent discussions on this in the mailing list). You should also activate DIRECT_IO in your instance configuration. Regarding the "migration" itself there isn't really too much to do.... It really depends on what you're about to do... Let see. You talk about "installing Informix on two new drives". What exactly does it mean? Are you talking about just the product installation or the data chunks? How were you plan to move the data if you were going to use RAW devices? An Informix backup/restore or an offline "dd" or anything else? The idea is that you need to create the new files (after the filesystem creation a simple "touch/chmod" will do.... Then you need to copy the data in a consistent way.... And finally you need to tell your instance that it should be using the new files and not the old ones... If you're using symbolic links for your current RAW devices, you just have to point them to the new files... Regarding ways to copy data.... several options: 1- OFFLINE with dd OS command 2- OFFLINE with backup/restore (using the rename option to move the chunks, or simply changing the links) 3- ONLINE with something that can synchronize the files "online".... This can be tricky or challenging.... I've used it with logical volume managers (between two raw devices, followed by a short engine stop to change the links). You could also use Informix mirror ability.... I'd have to check the "after synchronize steps".... Tell us more about your plan of activities (forgetting the move from RAW to filesystem) and then we can give you more help Regards. -- Fernando Nunes Portugal http://informix-technology.blogspot.com My email works... but I don't check it frequently... |
#8
| |||
| |||
|
|
Install free Solaris and continue to use the ease, speed and versitility of raw space !!! |
#9
| |||
| |||
|
|
We're running Suse Linux Enterprise Server on x86 and with the latest SLES11SP1 release notes comes this announcement: |
|
Currently I have two raw devices which contain a total of 18 chunks. I would like to see them as 18 files on four different drives/partitions after the migration. I can't find any documentation on migrating to cooked files. Is this even possible? |
#10
| |||
| |||
|
|
-----Original Message----- From: informix-list-bounces (AT) iiug (DOT) org [mailto:informix-list- bounces (AT) iiug (DOT) org] On Behalf Of Neil Truby Sent: Thursday, August 26, 2010 1:41 AM To: informix-list (AT) iiug (DOT) org Subject: Re: moving from raw chunks to cooked files "Aleksander Kamenik" <aleksander (AT) krediidiinfo (DOT) ee> wrote in message news:mailman.420.1282749214.1071.informix-list (AT) iiug (DOT) org... Hi, We're running Suse Linux Enterprise Server on x86 and with the latest SLES11SP1 release notes comes this announcement: "The RAW devices are deprecated and will be removed with one of the next Service Packs or SUSE Linux Enterprise Server 12." I'm about to reinstall Informix onto new drives so might as well migrate to cooked files. What filesystem is recommended? Are there any significant performance issues nowadays? Currently I have two raw devices which contain a total of 18 chunks. I would like to see them as 18 files on four different drives/partitions after the migration. I can't find any documentation on migrating to cooked files. Is this even possible? Avoid a journaled FS. So, ext2 is a good choice. Migration is easy enough 1. If you have used symbolic links for your chunk names, just take a level 0, change your links to the new file system files, and do a restore 2. If you have NOT used links, firstly you should be executed. If you survive this, use an ontape "redirected restore" (RTFM) and use links this time! regards _______________________________________________ Informix-list mailing list Informix-list (AT) iiug (DOT) org http://www.iiug.org/mailman/listinfo/informix-list |
![]() |
| Thread Tools | |
| Display Modes | |
| |