Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #14278

Re: Changing the /usr volume

From William Unruh <unruh@invalid.ca>
Newsgroups comp.os.linux.misc
Subject Re: Changing the /usr volume
Date 2015-03-30 20:06 +0000
Organization A noiseless patient Spider
Message-ID <mfcacc$8j2$1@dont-email.me> (permalink)
References <YLydnc7NltWaH4TInZ2dnUU7-IGdnZ2d@giganews.com>

Show all headers | View raw


On 2015-03-30, James Moe <jimoeDESPAM@sohnen-moe.com> wrote:
>
>
> opensuse 13.2
> linux 3.16.7-7-desktop x86_64
>
> I recently purchased an Axiom SSD unit, 160GB. I partitioned it into two
> volumes, one for /usr, the other for / (root). I copied /usr using rsync:
> Code:
>
> OPTS='--recursive --one-file-system --links --stats --itemize-changes
> --quiet --delete --times -HAXS';
> rsync ${OPTS} --log-file=${LOGFILE} /usr/ /mnt/usr1/
>
> I thought that all I had to do then was modify /etc/fstab and restart.
> Not so. It became unbootable. I had to use the Rescue Disk to change the
> fstab settings back to the previous.

It is probably running systemd, and udev, all of which essentially
demand that /usr/bin be on the root partition, because it uses programs
from /usr/bin in the boot process. 

Assume nowadays that there is not /bin. Just /usr/bin and similarly for
lib, and do things accordingly. 

> Code:
>
> /dev/disk/by-id/scsi-SSEAGATE_ST336753LW_3HX0G0GM000073370Y4S-part3 \
>   /usr ext4 acl,user_xattr 1 2
> # /dev/disk/by-id/scsi-SSEAGATE_ST336753LW_3HX0G0GM000073370Y4S-part3 \
>   /mnt/usr1 ext4 acl,user_xattr 1 2
> #
> /dev/disk/by-id/ata-Axiom_Signature_Series_III_SSD_AX150206AS1706441-part2 \
>   /mnt/usr1 xfs  defaults   1 2
> #
> /dev/disk/by-id/ata-Axiom_Signature_Series_III_SSD_AX150206AS1706441-part2 \
>   Changing the /usr partition /usr xfs defaults 1 2

And that previos line is nonesense as far as fstab is concerned. 

>
> So. What did I miss when copying /usr and changing mount points?

Changing standards. 

>

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Changing the /usr volume James Moe <jimoeDESPAM@sohnen-moe.com> - 2015-03-30 10:04 -0700
  Re: Changing the /usr volume Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-03-30 20:38 +0200
  Re: Changing the /usr volume Allodoxaphobia <knock_yourself_out@example.net> - 2015-03-30 18:42 +0000
  Re: Changing the /usr volume William Unruh <unruh@invalid.ca> - 2015-03-30 20:06 +0000
    Re: Changing the /usr volume Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-03-30 22:30 +0200
      Re: Changing the /usr volume William Unruh <unruh@invalid.ca> - 2015-03-30 23:21 +0000
        Re: Changing the /usr volume Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2015-03-31 09:51 +0200
    Re: Changing the /usr volume James Moe <jimoeDESPAM@sohnen-moe.com> - 2015-03-31 11:03 -0700
      Re: Changing the /usr volume William Unruh <unruh@invalid.ca> - 2015-04-01 04:47 +0000
        Re: Changing the /usr volume James Moe <jimoeDESPAM@sohnen-moe.com> - 2015-04-04 10:52 -0700
  Re: Changing the /usr volume James Moe <jimoeDESPAM@sohnen-moe.com> - 2015-03-31 10:59 -0700

csiph-web