From angelo_da_re at alice.it Wed Dec 1 01:38:21 2010 From: angelo_da_re at alice.it (angelo) Date: Tue, 30 Nov 2010 17:38:21 +0100 Subject: [ydl-gen] Printer for YDL 6.2 running on a PS3 second model Message-ID: <4CF5287D.8030304@alice.it> Hello everyone, I've got the problem of finding a compatible printer since YDL 6.1 came out. Is there anyone who can give me a list of the available for purchase printers compatible with YDL 6.2 ? They may be inkjet or laser printers, preferably made by HP or Epson. Thanks in advance, Angelo. From brock at blue-compass.com Tue Dec 14 04:37:28 2010 From: brock at blue-compass.com (Matt Brock) Date: Mon, 13 Dec 2010 19:37:28 +0000 Subject: [ydl-gen] Software RAID - making the spare bootable Message-ID: Hi there. (I posted this onto the YDL forums earlier today, so apologies to anyone who's seen it twice.) I've been using YDL on Xserve G5s for a couple of years now and it does a great job. Recently I decided to rebuild one with software RAID to get disk redundancy. I did all of this through the installer. The server has three disks, so I set them up as RAID 1 with a spare. This has all gone very successfully apart from one detail. The two disks in the RAID set are bootable, i.e. I can remove either of those disks and the machine will still boot as normal. That's fine so far. Then I permanently removed the first disk and brought the spare third disk into the RAID set instead. Once the RAID set is then fully rebuilt I can boot off the original second disk, but the third disk which was previously the spare disk is not bootable. It gets to the first yaboot stage, and then the blue icon which represents OpenBoot failing to find a boot disk appears superimposed over the yaboot screen. That process just loops over and over again and never boots. I've tried using ybin to make the Apple boot partition bootable with the correct yaboot config, but that didn't help. I've tried dd-ing the entire second disk onto the third disk then zeroing the RAID superblocks, and that didn't work. I've tried resetting the NVRAM and that made no difference. I'm sure it's not a hardware problem with the disk because I've tried this twice now with the disks in different slots each time, and it's always the spare disk which has the boot problem even though that's a different physical disk each time. I hope there's someone out there who can help because I'm tearing my hair out over this. I can't see what else would be needed to make the third disk bootable... yet there must be something! Without getting this working the full redundancy I'd hoped for can't be achieved, which would be extremely frustrating. Cheers, Matt. From dcenteno at ydl.net Wed Dec 15 07:05:50 2010 From: dcenteno at ydl.net (Derick Centeno) Date: Tue, 14 Dec 2010 17:05:50 -0500 Subject: [ydl-gen] Software RAID - making the spare bootable In-Reply-To: References: Message-ID: <4D07EA3E.1060200@ydl.net> Question: Correct me if I missed something, but wasn't the third "spare" intended to be an exact mirror so that it could replace either the first or second drive? For the "spare" to be a replacement for either the first or the second drive it also would have matched the exact partition structure of the first two. In this particular sense the "spare" is really no "spare" at all, but a sort of emergency last ditch fail-safe in the event that either the first or second drive failed. This also means that the for the RAID 1 system to function with a fail-safe option/strategy the third drive had to be prepared properly so that it could potentially replace any one of the other two at any time. Zeroing the RAID superblocks and attempting to make the Apple partition bootable via ybin may have been mistakes; however the strategy to dd the second (or first) drive onto the "spare" appears reasonable. Is it possible to reformat/restructure all three disks, using YDL, so that function is restored? On 12/13/10 2:37 PM, Matt Brock wrote: > Hi there. > > (I posted this onto the YDL forums earlier today, so apologies to > anyone who's seen it twice.) > > I've been using YDL on Xserve G5s for a couple of years now and it > does a great job. Recently I decided to rebuild one with software RAID > to get disk redundancy. I did all of this through the installer. The > server has three disks, so I set them up as RAID 1 with a spare. > > This has all gone very successfully apart from one detail. The two > disks in the RAID set are bootable, i.e. I can remove either of those > disks and the machine will still boot as normal. That's fine so far. > Then I permanently removed the first disk and brought the spare third > disk into the RAID set instead. Once the RAID set is then fully > rebuilt I can boot off the original second disk, but the third disk > which was previously the spare disk is not bootable. It gets to the > first yaboot stage, and then the blue icon which represents OpenBoot > failing to find a boot disk appears superimposed over the yaboot > screen. That process just loops over and over again and never boots. > > I've tried using ybin to make the Apple boot partition bootable with > the correct yaboot config, but that didn't help. I've tried dd-ing the > entire second disk onto the third disk then zeroing the RAID > superblocks, and that didn't work. I've tried resetting the NVRAM and > that made no difference. I'm sure it's not a hardware problem with the > disk because I've tried this twice now with the disks in different > slots each time, and it's always the spare disk which has the boot > problem even though that's a different physical disk each time. > > I hope there's someone out there who can help because I'm tearing my > hair out over this. I can't see what else would be needed to make the > third disk bootable... yet there must be something! Without getting > this working the full redundancy I'd hoped for can't be achieved, > which would be extremely frustrating. > > Cheers, > > Matt. > _______________________________________________ > yellowdog-general mailing list - yellowdog-general at lists.fixstars.com > Unsuscribe info: > http://lists.fixstars.com/mailman/listinfo/yellowdog-general > HINT: to Google archives, try '<keywords> site:us.fixstars.com' > From brock at blue-compass.com Fri Dec 17 21:30:54 2010 From: brock at blue-compass.com (Matt Brock) Date: Fri, 17 Dec 2010 12:30:54 +0000 Subject: [ydl-gen] Software RAID - making the spare bootable In-Reply-To: <4D07EA3E.1060200@ydl.net> References: <4D07EA3E.1060200@ydl.net> Message-ID: <1643144C-CE03-4624-A464-815E4366FBF4@blue-compass.com> Yes, that's exactly right. The spare is set up in just that way, and when I bring it into the array it works fine as the second disk once the sync process is completed. The only problem is that I can't get the server to boot off that new second disk, and that's what's frustrating me. On 14 Dec 2010, at 22:05, Derick Centeno wrote: > Question: > Correct me if I missed something, but wasn't the third "spare" > intended to be an exact mirror so that it could replace either the > first or second drive? > > For the "spare" to be a replacement for either the first or the > second drive it also would have matched the exact partition > structure of the first two. In this particular sense the "spare" is > really no "spare" at all, but a sort of emergency last ditch fail- > safe in the event that either the first or second drive failed. > This also means that the for the RAID 1 system to function with a > fail-safe option/strategy the third drive had to be prepared > properly so that it could potentially replace any one of the other > two at any time. > > Zeroing the RAID superblocks and attempting to make the Apple > partition bootable via ybin may have been mistakes; however the > strategy to dd the second (or first) drive onto the "spare" appears > reasonable. > > Is it possible to reformat/restructure all three disks, using YDL, > so that function is restored? > > On 12/13/10 2:37 PM, Matt Brock wrote: >> Hi there. >> >> (I posted this onto the YDL forums earlier today, so apologies to >> anyone who's seen it twice.) >> >> I've been using YDL on Xserve G5s for a couple of years now and it >> does a great job. Recently I decided to rebuild one with software >> RAID to get disk redundancy. I did all of this through the >> installer. The server has three disks, so I set them up as RAID 1 >> with a spare. >> >> This has all gone very successfully apart from one detail. The two >> disks in the RAID set are bootable, i.e. I can remove either of >> those disks and the machine will still boot as normal. That's fine >> so far. Then I permanently removed the first disk and brought the >> spare third disk into the RAID set instead. Once the RAID set is >> then fully rebuilt I can boot off the original second disk, but the >> third disk which was previously the spare disk is not bootable. It >> gets to the first yaboot stage, and then the blue icon which >> represents OpenBoot failing to find a boot disk appears >> superimposed over the yaboot screen. That process just loops over >> and over again and never boots. >> >> I've tried using ybin to make the Apple boot partition bootable >> with the correct yaboot config, but that didn't help. I've tried dd- >> ing the entire second disk onto the third disk then zeroing the >> RAID superblocks, and that didn't work. I've tried resetting the >> NVRAM and that made no difference. I'm sure it's not a hardware >> problem with the disk because I've tried this twice now with the >> disks in different slots each time, and it's always the spare disk >> which has the boot problem even though that's a different physical >> disk each time. >> >> I hope there's someone out there who can help because I'm tearing >> my hair out over this. I can't see what else would be needed to >> make the third disk bootable... yet there must be something! >> Without getting this working the full redundancy I'd hoped for >> can't be achieved, which would be extremely frustrating. >> >> Cheers, >> >> Matt. >> _______________________________________________ >> yellowdog-general mailing list - yellowdog-general at lists.fixstars.com >> Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general >> HINT: to Google archives, try '<keywords> site:us.fixstars.com' >> > _______________________________________________ > yellowdog-general mailing list - yellowdog-general at lists.fixstars.com > Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general > HINT: to Google archives, try '<keywords> site:us.fixstars.com' > From dcenteno at ydl.net Sat Dec 18 06:16:18 2010 From: dcenteno at ydl.net (Derick Centeno) Date: Fri, 17 Dec 2010 16:16:18 -0500 Subject: [ydl-gen] Software RAID - making the spare bootable In-Reply-To: <1643144C-CE03-4624-A464-815E4366FBF4@blue-compass.com> References: <4D07EA3E.1060200@ydl.net> <1643144C-CE03-4624-A464-815E4366FBF4@blue-compass.com> Message-ID: <4D0BD322.2010408@ydl.net> Questions: You can boot from the original second drive but not from it's replacement?? Are you familiar with the application within YDL known as parted (aka: partition editor)? It can reveal a rather precise layout of the partition table for each of the disks in question which would allow you to more precisely determine the location of the partitions as well as the file systems used within each partition. Hopefully these details could provide essential information useful in analyzing this problem you reported. Suggestion: Keep a record of each disk's partition table and file system; compare each one to the other two. Perhaps the copy or duplication routine implemented by the software used in creating each of the drives is the source of your difficulties; I'm guessing of course. However, parted would report what consumer grade Apple software cannot because Apple software cannot see ext2/3. However, Apple Server software could be different; I'm not sure. My focus for some years has been Unix/Linux, not Apple. If you have the hfstools installed within YDL (use yum) you should be able to see, write to, use and create whatever partition structure and filesystem you need in the order you need it to be. Supposition: When TerraSoft existed and Apple produced PowerPCs there existed a recommended two-step installation process which involved using Apple's Partitioning tool first so that it created the partitions for Apple's OS and the partition format known as Free Space - at the same time. The second installation process involved booting from the YDL installation DVD to initiate Anaconda to install YDL; the options at that point eventually allowed for either choosing an automated installation process which allowed Anaconda to build ext3 on those partitions it recognized as suitable for Linux, or manually choosing the partition to proceed with the installation process. I am not sure that the above procedure was the same for Apple Servers; it should be an area for you to explore carefully. The problem you report sounds like something caused by a missed step or error in one or another step of preparing Apple hardware to function seamlessly with YDL. If a review or re-examination of implemented procedures reveal that no errors were made then it may be time to replace the "spare" completely with a new drive as all other methods will have been explored and implemented first. Good Luck... On 12/17/10 7:30 AM, Matt Brock wrote: > Yes, that's exactly right. The spare is set up in just that way, and > when I bring it into the array it works fine as the second disk once > the sync process is completed. The only problem is that I can't get > the server to boot off that new second disk, and that's what's > frustrating me. > From billfink at mindspring.com Sat Dec 18 13:21:18 2010 From: billfink at mindspring.com (Bill Fink) Date: Fri, 17 Dec 2010 23:21:18 -0500 Subject: [ydl-gen] Software RAID - making the spare bootable In-Reply-To: <1643144C-CE03-4624-A464-815E4366FBF4@blue-compass.com> References: <4D07EA3E.1060200@ydl.net> <1643144C-CE03-4624-A464-815E4366FBF4@blue-compass.com> Message-ID: <20101217232118.9d15f33a.billfink@mindspring.com> Matt, If the root filesystem in /etc/fstab is being mounted via UUID, then the new disk is going to have a different UUID. I use the LABEL option instead after having labelled the partition, but I don't know if that would work with your RAID configuration. Perhaps this info might help you. -Bill On Fri, 17 Dec 2010, Matt Brock wrote: > Yes, that's exactly right. The spare is set up in just that way, and > when I bring it into the array it works fine as the second disk once > the sync process is completed. The only problem is that I can't get > the server to boot off that new second disk, and that's what's > frustrating me. > > On 14 Dec 2010, at 22:05, Derick Centeno wrote: > > > Question: > > Correct me if I missed something, but wasn't the third "spare" > > intended to be an exact mirror so that it could replace either the > > first or second drive? > > > > For the "spare" to be a replacement for either the first or the > > second drive it also would have matched the exact partition > > structure of the first two. In this particular sense the "spare" is > > really no "spare" at all, but a sort of emergency last ditch fail- > > safe in the event that either the first or second drive failed. > > This also means that the for the RAID 1 system to function with a > > fail-safe option/strategy the third drive had to be prepared > > properly so that it could potentially replace any one of the other > > two at any time. > > > > Zeroing the RAID superblocks and attempting to make the Apple > > partition bootable via ybin may have been mistakes; however the > > strategy to dd the second (or first) drive onto the "spare" appears > > reasonable. > > > > Is it possible to reformat/restructure all three disks, using YDL, > > so that function is restored? > > > > On 12/13/10 2:37 PM, Matt Brock wrote: > >> Hi there. > >> > >> (I posted this onto the YDL forums earlier today, so apologies to > >> anyone who's seen it twice.) > >> > >> I've been using YDL on Xserve G5s for a couple of years now and it > >> does a great job. Recently I decided to rebuild one with software > >> RAID to get disk redundancy. I did all of this through the > >> installer. The server has three disks, so I set them up as RAID 1 > >> with a spare. > >> > >> This has all gone very successfully apart from one detail. The two > >> disks in the RAID set are bootable, i.e. I can remove either of > >> those disks and the machine will still boot as normal. That's fine > >> so far. Then I permanently removed the first disk and brought the > >> spare third disk into the RAID set instead. Once the RAID set is > >> then fully rebuilt I can boot off the original second disk, but the > >> third disk which was previously the spare disk is not bootable. It > >> gets to the first yaboot stage, and then the blue icon which > >> represents OpenBoot failing to find a boot disk appears > >> superimposed over the yaboot screen. That process just loops over > >> and over again and never boots. > >> > >> I've tried using ybin to make the Apple boot partition bootable > >> with the correct yaboot config, but that didn't help. I've tried dd- > >> ing the entire second disk onto the third disk then zeroing the > >> RAID superblocks, and that didn't work. I've tried resetting the > >> NVRAM and that made no difference. I'm sure it's not a hardware > >> problem with the disk because I've tried this twice now with the > >> disks in different slots each time, and it's always the spare disk > >> which has the boot problem even though that's a different physical > >> disk each time. > >> > >> I hope there's someone out there who can help because I'm tearing > >> my hair out over this. I can't see what else would be needed to > >> make the third disk bootable... yet there must be something! > >> Without getting this working the full redundancy I'd hoped for > >> can't be achieved, which would be extremely frustrating. From brock at blue-compass.com Mon Dec 27 18:56:11 2010 From: brock at blue-compass.com (Matt Brock) Date: Mon, 27 Dec 2010 09:56:11 +0000 Subject: [ydl-gen] Software RAID - making the spare bootable In-Reply-To: <4D0BD322.2010408@ydl.net> References: <4D07EA3E.1060200@ydl.net> <1643144C-CE03-4624-A464-815E4366FBF4@blue-compass.com> <4D0BD322.2010408@ydl.net> Message-ID: <569B3A96-D734-4F23-A370-41667428DD28@blue-compass.com> Thanks for your insights, Derick. Through a long process of trial and error I have now managed to solve the problem. As it was fairly complicated, and as others might benefit from knowing what I did, I wrote a blog entry to describe the process that worked for me: http://wp.me/pKXV8-ts Cheers, Matt. On 17 Dec 2010, at 21:16, Derick Centeno wrote: > Questions: > You can boot from the original second drive but not from it's replacement?? > > Are you familiar with the application within YDL known as parted (aka: partition editor)? It can reveal a rather precise layout of the partition table for each of the disks in question which would allow you to more precisely determine the location of the partitions as well as the file systems used within each partition. Hopefully these details could provide essential information useful in analyzing this problem you reported. > > Suggestion: > Keep a record of each disk's partition table and file system; compare each one to the other two. > Perhaps the copy or duplication routine implemented by the software used in creating each of the drives is the source of your difficulties; I'm guessing of course. However, parted would report what consumer grade Apple software cannot because Apple software cannot see ext2/3. However, Apple Server software could be different; I'm not sure. My focus for some years has been Unix/Linux, not Apple. > > If you have the hfstools installed within YDL (use yum) you should be able to see, write to, use and create whatever partition structure and filesystem you need in the order you need it to be. > > Supposition: > When TerraSoft existed and Apple produced PowerPCs there existed a recommended two-step installation process which involved using Apple's Partitioning tool first so that it created the partitions for Apple's OS and the partition format known as Free Space - at the same time. The second installation process involved booting from the YDL installation DVD to initiate Anaconda to install YDL; the options at that point eventually allowed for either choosing an automated installation process which allowed Anaconda to build ext3 on those partitions it recognized as suitable for Linux, or manually choosing the partition to proceed with the installation process. > > I am not sure that the above procedure was the same for Apple Servers; it should be an area for you to explore carefully. The problem you report sounds like something caused by a missed step or error in one or another step of preparing Apple hardware to function seamlessly with YDL. If a review or re-examination of implemented procedures reveal that no errors were made then it may be time to replace the "spare" completely with a new drive as all other methods will have been explored and implemented first. > > Good Luck... > > > On 12/17/10 7:30 AM, Matt Brock wrote: >> Yes, that's exactly right. The spare is set up in just that way, and when I bring it into the array it works fine as the second disk once the sync process is completed. The only problem is that I can't get the server to boot off that new second disk, and that's what's frustrating me. >> > _______________________________________________ > yellowdog-general mailing list - yellowdog-general at lists.fixstars.com > Unsuscribe info: http://lists.fixstars.com/mailman/listinfo/yellowdog-general > HINT: to Google archives, try '<keywords> site:us.fixstars.com' > From brock at blue-compass.com Mon Dec 27 18:53:21 2010 From: brock at blue-compass.com (Matt Brock) Date: Mon, 27 Dec 2010 09:53:21 +0000 Subject: [ydl-gen] Software RAID - making the spare bootable In-Reply-To: <20101217232118.9d15f33a.billfink@mindspring.com> References: <4D07EA3E.1060200@ydl.net> <1643144C-CE03-4624-A464-815E4366FBF4@blue-compass.com> <20101217232118.9d15f33a.billfink@mindspring.com> Message-ID: <03DAC3E1-5443-438B-BC96-A376AD63170A@blue-compass.com> Thanks for the suggestion, Bill, but filesystems were just being mounted via the RAID partition, not the UUID, and I've finally solved the problem now (see other email). Cheers, Matt. On 18 Dec 2010, at 04:21, Bill Fink wrote: > Matt, > > If the root filesystem in /etc/fstab is being mounted via UUID, > then the new disk is going to have a different UUID. I use the > LABEL option instead after having labelled the partition, but > I don't know if that would work with your RAID configuration. > > Perhaps this info might help you. > > -Bill > > > > On Fri, 17 Dec 2010, Matt Brock wrote: > >> Yes, that's exactly right. The spare is set up in just that way, and >> when I bring it into the array it works fine as the second disk once >> the sync process is completed. The only problem is that I can't get >> the server to boot off that new second disk, and that's what's >> frustrating me. >> >> On 14 Dec 2010, at 22:05, Derick Centeno wrote: >> >>> Question: >>> Correct me if I missed something, but wasn't the third "spare" >>> intended to be an exact mirror so that it could replace either the >>> first or second drive? >>> >>> For the "spare" to be a replacement for either the first or the >>> second drive it also would have matched the exact partition >>> structure of the first two. In this particular sense the "spare" is >>> really no "spare" at all, but a sort of emergency last ditch fail- >>> safe in the event that either the first or second drive failed. >>> This also means that the for the RAID 1 system to function with a >>> fail-safe option/strategy the third drive had to be prepared >>> properly so that it could potentially replace any one of the other >>> two at any time. >>> >>> Zeroing the RAID superblocks and attempting to make the Apple >>> partition bootable via ybin may have been mistakes; however the >>> strategy to dd the second (or first) drive onto the "spare" appears >>> reasonable. >>> >>> Is it possible to reformat/restructure all three disks, using YDL, >>> so that function is restored? >>> >>> On 12/13/10 2:37 PM, Matt Brock wrote: >>>> Hi there. >>>> >>>> (I posted this onto the YDL forums earlier today, so apologies to >>>> anyone who's seen it twice.) >>>> >>>> I've been using YDL on Xserve G5s for a couple of years now and it >>>> does a great job. Recently I decided to rebuild one with software >>>> RAID to get disk redundancy. I did all of this through the >>>> installer. The server has three disks, so I set them up as RAID 1 >>>> with a spare. >>>> >>>> This has all gone very successfully apart from one detail. The two >>>> disks in the RAID set are bootable, i.e. I can remove either of >>>> those disks and the machine will still boot as normal. That's fine >>>> so far. Then I permanently removed the first disk and brought the >>>> spare third disk into the RAID set instead. Once the RAID set is >>>> then fully rebuilt I can boot off the original second disk, but the >>>> third disk which was previously the spare disk is not bootable. It >>>> gets to the first yaboot stage, and then the blue icon which >>>> represents OpenBoot failing to find a boot disk appears >>>> superimposed over the yaboot screen. That process just loops over >>>> and over again and never boots. >>>> >>>> I've tried using ybin to make the Apple boot partition bootable >>>> with the correct yaboot config, but that didn't help. I've tried dd- >>>> ing the entire second disk onto the third disk then zeroing the >>>> RAID superblocks, and that didn't work. I've tried resetting the >>>> NVRAM and that made no difference. I'm sure it's not a hardware >>>> problem with the disk because I've tried this twice now with the >>>> disks in different slots each time, and it's always the spare disk >>>> which has the boot problem even though that's a different physical >>>> disk each time. >>>> >>>> I hope there's someone out there who can help because I'm tearing >>>> my hair out over this. I can't see what else would be needed to >>>> make the third disk bootable... yet there must be something! >>>> Without getting this working the full redundancy I'd hoped for >>>> can't be achieved, which would be extremely frustrating. >