[opensuse] Linux RAID and different version of openSUSE
I have an 11.2 system with a software raid disk set. The disks are ext3. I am curious what issues I might encounter if I updated the OS to 12.1 or 12.2. Specifically: - Would the disks be compatible? Seems a silly question. But I have been in situations where lack of compatibility was unexpected. - After mounting on 12.x, could I expect the disks to work if I reverted to 11.2? The disks are data-only. The OS is elsewhere. So the question is not about reverting the OS. It is really about mounting the disks on 11.2, 12.2, and back to 11.2. The info for the disks is below: # mdadm -D /dev/md0 /dev/md0: Version : 0.90 Creation Time : Fri Nov 25 18:06:04 2005 Raid Level : raid1 Array Size : 293025472 (279.45 GiB 300.06 GB) Used Dev Size : 293025472 (279.45 GiB 300.06 GB) Raid Devices : 2 Total Devices : 2 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Thu Aug 16 15:28:56 2012 State : clean Active Devices : 2 Working Devices : 2 Failed Devices : 0 Spare Devices : 0 UUID : d679bc98:c9dcd593:b738ad98:3a9a198a Events : 0.676332 Number Major Minor RaidDevice State 0 8 17 0 active sync /dev/sdb1 1 8 33 1 active sync /dev/sdc1 # mdadm --detail-platform -v -v /dev/md0 mdadm: checking metadata 0.90 mdadm: 0.90 metadata is platform independent mdadm: checking metadata 1.x mdadm: 1.x metadata is platform independent mdadm: checking metadata ddf mdadm: ddf metadata is platform independent mdadm: checking metadata imsm mdadm: found Intel SATA AHCI Controller mdadm: imsm option-rom not found Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 16/08/12 14:48, Roger Oberholtzer wrote:
I have an 11.2 system with a software raid disk set. The disks are ext3.
I am curious what issues I might encounter if I updated the OS to 12.1 or 12.2. Specifically:
- Would the disks be compatible? Seems a silly question. But I have been in situations where lack of compatibility was unexpected.
- After mounting on 12.x, could I expect the disks to work if I reverted to 11.2?
The disks are data-only. The OS is elsewhere. So the question is not about reverting the OS. It is really about mounting the disks on 11.2, 12.2, and back to 11.2.
AFAIK you should have no problems. I have kept my /home on a software RAID1 array through several upgrades. You would be mounting the device /dev/md0 at a particular mountpoint, eg /home or /mnt. The system doesn't care if /dev/md0 comprises one or several physical disks, that's a job for the mirroring software (mdadm). However, if your disks contain configuration files, which is highly likely if they are users /home directories, then these will be altered by the upgrade process, and may not be compatible when you revert to oS 11.2. This won't apply if they just contain data, such as documents, pictures etc. HTH Bob -- Bob Williams System: Linux 3.1.10-1.16-desktop Distro: openSUSE 12.1 (x86_64) with KDE Development Platform: 4.9.00 "release 555" Uptime: 06:00am up 4 days 7:10, 1 user, load average: 0.55, 0.19, 0.16 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, 2012-08-16 at 16:00 +0100, Bob Williams wrote:
AFAIK you should have no problems. I have kept my /home on a software RAID1 array through several upgrades.
You would be mounting the device /dev/md0 at a particular mountpoint, eg /home or /mnt. The system doesn't care if /dev/md0 comprises one or several physical disks, that's a job for the mirroring software (mdadm).
I think my concern is if there is something stored on the disk related to 'md' that might be updated in 12.x, and not be compatible with 11.2.
However, if your disks contain configuration files, which is highly likely if they are users /home directories, then these will be altered by the upgrade process, and may not be compatible when you revert to oS 11.2. This won't apply if they just contain data, such as documents, pictures etc.
The disks contain subversion repositories, a few Trac web sites, etc. All things that are more application version dependent than OS/GUI dependent. So, in addition to the RAID issue, I will have to see about things like subversion. I may update subversion on the 11.2 to whatever is on 12.x so that version will be the same. That is a different bit of fun... Yours sincerely, Roger Oberholtzer OPQ Systems / Ramböll RST Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Roger Oberholtzer wrote:
I think my concern is if there is something stored on the disk related to 'md' that might be updated in 12.x, and not be compatible with 11.2.
I don't think so, but I don't know it for a fact. You could check the mdadm docs and the raid wiki to see if there is any explicit statement one way or the other. mdadm is one of those programs I would trust not to surprise me in unpleasant ways. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (3)
-
Bob Williams
-
Dave Howorth
-
Roger Oberholtzer