RE: Q's about IBM TSM (was Re: HEADSUP: ibcs2 and svr4 comp at headed for history)

From: Thyer, Matthew (Matthew.Thyer_at_dsto.defence.gov.au)
Date: 06/30/04

  • Next message: Oliver B. Fischer: "Re: Obtaining a kernel dump is not possible"
    To: "'Daniel O'Connor'" <doconnor@gsoft.com.au>, freebsd-current@freebsd.org
    Date: Wed, 30 Jun 2004 14:15:16 +0930
    
    

    I would love to have this automatic generation/maintenance of /compat/linux/etc/mtab.

    This would help me greatly for backup of systems using Linux backup software.

    Currently the software (HP OpenView DataProtector) will fail to backup the system if the file does not contain lines regarding the file systems I want to backup.

    Ideally this would need some kernel support to handle updating of the file whenever file systems are manually mounted and unmounted. Remember that Linux's etc/mtab file is to record what is currently mounted. A simple translation of FreeBSD's /etc/fstab at module load time or system boot time is not really adequate.

    -----Original Message-----
    From: owner-freebsd-current@freebsd.org
    [mailto:owner-freebsd-current@freebsd.org]On Behalf Of Daniel O'Connor
    Sent: Wednesday, 30 June 2004 12:11 PM
    To: freebsd-current@freebsd.org
    Cc: Carl Makin; Paul Mather; Paul Seniura
    Subject: Re: Q's about IBM TSM (was Re: HEADSUP: ibcs2 and svr4 compat
    headed for history)

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    On Wed, 30 Jun 2004 01:11, Paul Mather wrote:
    > I'm using the Linux 5.1.5.15 TSM client on a FreeBSD 5.2.1-RELEASE-p8
    > system. (See previous message in this thread.) It was a bit finicky to
    > get going. I found I had better luck using emulators/linux_base-8 than
    > emulators/linux_base, though I did get it running under both. One
    > hurdle for most people is that the client aborts with an out of memory
    > error during file activities. I discovered that this is caused by
    > having an empty or missing /compat/linux/etc/mtab file. Creating a
    > proper mtab file solves these problems. One way to do this is via
    > something like the following:
    >
    > sed 's/ufs/ext2/' < /etc/fstab > /compat/linux/etc/mtab
    >
    > That way, the Linux TSM "sees" your UFS partitions and will
    > backup/restore to them.

    I wonder if it could work with an LD_PRELOAD or some other linker trickery..

    ie replace open()/read()/write() with something that looks for /etc/mtab and
    instead opens /etc/fstab and translates it on the fly..

    I don't use TSM though so I couldn't test it :)

    (BTW linux_devtools can be used to make something like this, I wrote one for
    the TeamSpeak port to hide an unimplemented sound ioctl)

    - --
    Daniel O'Connor software and network engineer
    for Genesis Software - http://www.gsoft.com.au
    "The nice thing about standards is that there
    are so many of them to choose from."
      -- Andrew Tanenbaum
    GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.2.4 (FreeBSD)

    iD8DBQFA4ihR5ZPcIHs/zowRAqRJAJwKsNyao2pKodg7YfcQwasdbAdf2ACeN8S8
    sG8eI4DCFB04Lermz8NWFx4=
    =0zMe
    -----END PGP SIGNATURE-----
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Oliver B. Fischer: "Re: Obtaining a kernel dump is not possible"

    Relevant Pages

    • Re: DriveReady SeekComplete Error DriveStatusError BadCRC
      ... Buffer I/O error on device hda1, ... I would recommend a backup as soon as you can manage. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
      ... so I would focus on saving your critical data and ... Consider rsync for backup (man ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: failure booting lvm volume group over encrypted disk
      ... When I try to boot the backup system, it loads the initramfs, and I ... To UNSUBSCRIBE, email to debian-user-REQU...@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: dist-upgrade problem (was Re: /etc/modutils/0keep: line 9: keep: command not found)
      ... You are still running and have internet access, so I would focus on saving your critical data and forget about the botched upgrade for the time being. ... Consider rsync for backup, be be careful because it's very powerful and you could easily wipe out your data instead of saving it. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)
    • Re: Shut down or leave on?
      ... I hoped to reduce the probability of being hacked by shutting ... But I notice that most backup utilities are designed to backup ... Specifically, as I understand it, thermal shock to minuscule electronic components during power-on. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
      (Debian-User)