Re: Running LVM to repartition HD question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi folks,

Continued...


# umount /tmp
Device is busy

on /etc/fstab comment out;
#/dev/VolGroup00/LogVol02 /tmp   ext3  defaults  1 2


Rebooted PC

I was not allowed to login as USER, saying something .. I have only 10
seconds .... etc.

But I was allowed to login as ROOT.

# umount /tmp
umount: /tmp: not mounted

# ls -l /
total 154
...
drwxr-xr-x   8 root root  4096 Jul 25 16:20 tmp
....
* end *

# chmod -c 1777 /tmp
mode of `/tmp' changed to 1777 (rwxrwxrwt)

# restorecon -v /tmp
No printout


# ls -l /
total 154
...
drwxrwxrwt   8 root root  4096 Jul 25 16:24 tmp
....
* end *

"tmp" shaded in green


# ls -l /tmp/
total 32
drwx------ 2 root root 4096 Jul 25 16:18 kde-root
drwx------ 3 root root 4096 Jul 25 16:18 ksocket-root
drwx------ 2 root root 4096 Jul 25 16:18 ssh-CLbVLG2323
-rw------- 1 root root  617 Jul 25 16:23 xses-root.y6yUDQ


Rebooted PC again.

This time I was allowed to login as USER

# ls -l /tmp/
total 60
srw------- 1 satimis satimis    0 Jul 25 16:43
alsa-dmix-2308-1153860187-690203
drwx------ 2 root    root    4096 Jul 25 16:38 gconfd-root
drwx------ 3 satimis satimis 4096 Jul 25 16:41 gconfd-satimis
drwx------ 2 satimis satimis 4096 Jul 25 16:41 kde-satimis
drwx------ 3 satimis satimis 4096 Jul 25 16:41 ksocket-satimis
drwx------ 2 satimis satimis 4096 Jul 25 16:41 orbit-satimis
drwx------ 2 satimis satimis 4096 Jul 25 16:41 ssh-JYXGsY2183
-rw------- 1 satimis satimis  537 Jul 25 16:43 xses-satimis.4sn7uV
* end *

# lvscan
  ACTIVE            '/dev/VolGroup00/LogVol00' [9.75 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol01' [11.72 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol02' [7.81 GB] inherit
  ACTIVE            '/dev/VolGroup00/LogVol03' [1.00 GB] inherit
* end *

LogVol03 is swap


I will remove LogVol02 with

# lvremove VolGroup00/LogVol02


Now I want to create;
- a new LogVol02 of size 5G as / for the new LinuxOS to be installed
under VolGroup00
- a new LogVol04 on extended partition of size 5G as /home for the new
LinuxOS to be installed under VolGroup00

by running following commands;

lvcreate -n LogVol02 --size 5g VolGroup00
lvcreate -n LogVol04 --size 5g VolGroup00
mkfs -t ext3 /dev/VolGroup00/LogVol02
mkfs -t ext3 /dev/VolGroup00/LogVol04


However I haven't figured out during installation how can I netvigate
installing / on LogVol02 and /home on LogVol04.  There will 2 / and 2
/home on the same group, VolGroup00.  Does it matter?

Please shed me some light.  TIA

B.R.
SL


> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux