Re: [opensuse] How to replace drive containing /swap ??



David C. Rankin a écrit :
Listmates,

Critical situation. Server running 100G drive. The drive started to
fail. Plenty of backups available and I was able to recovered all data
to another server. Installed fresh 250G sata drives configured in
hardware raid (sdb and sdc). Used the /swap from the failing drive (sda)
for install purposes because I didn't was to put swap on the raid. Fresh
10.3 install replacing last mandrake server went fine. Server runs fine,
just gives occasional /sda offline errors.

Problem, the old drive with /swap is sda, the /swap partition is sda5.
The sda drive must be replaced, but how?

The question: "Can I just install a new sda, and boot and then
partition a new /swap with yast, or, will the boot process freak out
when /swap isn't available and cause the boot to fail?" I'm going to try
it, but if someone else has done this and has advise to help avoid any
"gotchas", I would definitely appreciate a heads up.

Thanks!

if you have enough ram, stop the swap (swapoff), unset the swap file in fstab (write #on beginning of the swap line).

no swap is really needed

after that set any swap file on any disk (make swap, swap on) and re-enable the swap file

jdd

--
http://www.dodin.net
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • RH 7.3 system crashing
    ... is used as a Samba server, cashing name server, internal web server ... SCSI drives setup as RAID5. ... restarted samba, apache and backup script ... Suspected swap area may be bad on drive. ...
    (comp.os.linux.misc)
  • Event ID 1031 after SP1
    ... I have 2 identical Dell PowerEdge 1800's which I swap over ... I take full images from all drives nightly and can ... Now when I run drivesnapshot (called from a SQL Server ... I am going to swap data to pre-SP1 machine ...
    (microsoft.public.windows.server.sbs)
  • Re: [opensuse] How to replace drive containing /swap ??
    ... Server running 100G drive. ... Installed fresh 250G sata drives configured in ... for install purposes because I didn't was to put swap on the raid. ... Problem, the old drive with /swap is sda, the /swap partition is sda5. ...
    (SuSE)
  • Re: SBS External Backup + Schedule
    ... The server is sut up with 2 x 500 GB drived in RAID 1 formation. ... I would back up to 1 of the drives first. ... is offsite when you bring one in to do the swap. ... your most recent backup and the backup you brought in from offsite. ...
    (microsoft.public.windows.server.sbs)
  • [opensuse] How to replace drive containing /swap ??
    ... Server running 100G drive. ... Installed fresh 250G sata drives configured in ... for install purposes because I didn't was to put swap on the raid. ... Problem, the old drive with /swap is sda, the /swap partition is sda5. ...
    (SuSE)