Re: An XFS Log partition in the root disk?

From: Igor Sobrado (sobrado_at_string1.ciencias.uniovi.es)
Date: 08/16/04


Date: Mon, 16 Aug 2004 14:00:56 +0000 (UTC)

Walter Roberson <roberson@ibd.nrc-cnrc.gc.ca> wrote:
> In article <cfobub$12e$1@localhost.localdomain>,
> Igor Sobrado <sobrado@string1.ciencias.uniovi.es> wrote:
> :An interesting question, though. How can we set up a xfslog partition
> :in the root disk?

Hi Walter.

Thanks a lot for your detailed answer to my question!

> It already has an internal log. You cannot set up a separate
> log partition for the root partition, and you cannot have the root
> partition be part of a multi-ve xlv (but you -can- have the root
> partition be mirrored, if you have the appropriate license.)

Indeed, XFS supports both internal and external log. XFS is a
reliable and robust filesystem; both XFS and Veritas filesystem
are the best ones I know of.

> The reason for the above restrictions on the root partition, is that
> sash, the program that loads up /unix, has to know enough about the
> filesystem in order to -find- /unix -- and sash doesn't know above
> external xfs logs or about multi-partition root filesystems. You have
> to keep / itself simple so that you can boot your machine.

I supposed that there was a problem with the stand-alone shell too.
As you said, sash does not know a lot about filesystems; this program
only knows how finding and booting the IRIX kernel. It is flexible
and highly customizable, but it does not understands complex filesystem
layouts, like external logging. I am not surprised sash does not
understands external XFS logs or disk stripping. But it supports the
feature that is really required, disk mirroring. I fully agreed with
you about keeping the root filesystem as simple as possible.

The same restrictions apply to my Siemens Nixdorf RM600 running
SINIX 5.42A10; sash supports Veritas on that machine, but complex
RAID configurations cannot be applied to the root filesystem.

Sadly, I cannot afford a plexing license for mirroring. It would be
a nice feature. Hopefully booting from installation media is
possible too.

> These restrictions apply -only- to the filesystem you want to boot from.

Of course, /unix is able to run required software to support more
advanced filesystem configurations (e.g., my option disk has an XFS
filesytem, mounted at /usr/people, with external logging).

By the way, can I share an xfslog partition with more than one
filesystem? (e.g., an xfslog filesystem shared between /usr, /opt
and /var). Just curious, but it looks useful for the root disk.

Cheers,
Igor.

-- 
Igor Sobrado, UK34436 - sobrado@acm.org


Relevant Pages

  • SUMMARY: Moving /usr From Under Root "/" To Its Own Partition
    ... One of the reasons for doing this is to end up with a smaller root ... Install the boot block and boot off the new drive. ... " In order for the root partition to be fscked and remounted ... D> temporarily on the existing disk. ...
    (SunManagers)
  • Weird harddisk behaviour
    ... A couple of weeks ago my 400Gb SATA disk crashed. ... Partition Table for /dev/sda ... # Type Sector Sector Offset Length Filesystem Type Flag ... Superblock backups stored on blocks: ...
    (Linux-Kernel)
  • Re: [opensuse] rsync questions - backups - again !
    ... occurred and you'd end up with an inconsistent filesystem. ... the backup may become corrupt enough to be unusable. ... One theoretically possible method would be, if you have a raid 1 system, to stop one side, then clone the stopped side to another disk, then reactivate the stopped side. ... Another theoretical possibility would be the contrary: the system would freeze the source partition sourcing the dd, recording somewhere else the changes done by other programs; ie, the changes would not be written on the intended partition, but on another "recent changes" partition. ...
    (SuSE)
  • Re: HTFS Filesystem
    ... This is/was a root disk so I ... since I took the default swap and boot partition sizes, ... division table divvy would still wipe out my data. ... > filesystem parameters named FSIZE and ISIZE. ...
    (comp.unix.sco.misc)
  • Re: Corrupted superblock
    ... As a result I've ignored LVM. ... a disk or disk partition is known as a Physical Volume ... An LV can hold a filesystem, swapspace, ...
    (uk.comp.os.linux)