help moving /var
Re: help moving /var
[quote]Stating the obvious, but "mkdir /var" before rebooting. :-)[/quote]
I thought, and maybe its a senior moment, that if you are mounted a directory to a partition /dev/sdb1 /var that you did not need to actually create the directory on the new partition.
grr let me test this if this is what it is maybee its time to retire or find a place that still uses Irix LOL.
I thought, and maybe its a senior moment, that if you are mounted a directory to a partition /dev/sdb1 /var that you did not need to actually create the directory on the new partition.
grr let me test this if this is what it is maybee its time to retire or find a place that still uses Irix LOL.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: help moving /var
[quote]
cry4dawn wrote:
[quote]Stating the obvious, but "mkdir /var" before rebooting. :-)[/quote]
I thought, and maybe its a senior moment, that if you are mounted a directory to a partition /dev/sdb1 /var that you did not need to actually create the directory on the new partition.
grr let me test this if this is what it is maybee its time to retire or find a place that still uses Irix LOL.[/quote]
Your test will reveal that the mountpoint directory must exist. I vaguely remember Irix and find that my rusty SunOS and Vax/VMS skills are very little in demand also. ;-)
cry4dawn wrote:
[quote]Stating the obvious, but "mkdir /var" before rebooting. :-)[/quote]
I thought, and maybe its a senior moment, that if you are mounted a directory to a partition /dev/sdb1 /var that you did not need to actually create the directory on the new partition.
grr let me test this if this is what it is maybee its time to retire or find a place that still uses Irix LOL.[/quote]
Your test will reveal that the mountpoint directory must exist. I vaguely remember Irix and find that my rusty SunOS and Vax/VMS skills are very little in demand also. ;-)
-
- Posts: 1478
- Joined: 2006/05/29 16:50:11
- Location: San Francisco, CA
Re: help moving /var
I spent 10 years at SGI supporting IRIX. It was the best of the SVR4-based UNIXes, IMO, but I doubt it is being used much any more except for on legacy SGI servers. We have IRIX to thank for XFS, chkconfig and opengl, among other things.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: help moving /var
Live and learn - knew about XFS and OpenGL but didn't know/remember chkconfig heritage.
Anyway - @[b]cry4dawn[/b] - may not be relevant, but might try the recent selinux-policy updates if you have not already.
Anyway - @[b]cry4dawn[/b] - may not be relevant, but might try the recent selinux-policy updates if you have not already.
Re: help moving /var
Im pretty sure I'm completely up to date
root@localhost [~]# yum clean all && yum check-update
Loaded plugins: fastestmirror, priorities
Cleaning up Everything
Cleaning up list of fastest mirrors
Loaded plugins: fastestmirror, priorities
Determining fastest mirrors
* addons: ftp.lug.udel.edu
* base: mirror.atlanticmetro.net
* extras: ftp.lug.udel.edu
* rpmforge: fr2.rpmfind.net
* updates: mirrors.unbornmedia.com
addons | 951 B 00:00
addons/primary | 203 B 00:00
base | 2.1 kB 00:00
base/primary_db | 2.0 MB 00:00
extras | 1.1 kB 00:00
extras/primary | 117 kB 00:00
extras 290/290
rpmforge | 1.1 kB 00:00
rpmforge/primary | 3.6 MB 00:06
rpmforge 9865/9865
updates | 1.9 kB 00:00
updates/primary_db | 569 kB 00:00
461 packages excluded due to repository priority protections
You have new mail in /var/spool/mail/root
root@localhost [~]# yum clean all && yum check-update
Loaded plugins: fastestmirror, priorities
Cleaning up Everything
Cleaning up list of fastest mirrors
Loaded plugins: fastestmirror, priorities
Determining fastest mirrors
* addons: ftp.lug.udel.edu
* base: mirror.atlanticmetro.net
* extras: ftp.lug.udel.edu
* rpmforge: fr2.rpmfind.net
* updates: mirrors.unbornmedia.com
addons | 951 B 00:00
addons/primary | 203 B 00:00
base | 2.1 kB 00:00
base/primary_db | 2.0 MB 00:00
extras | 1.1 kB 00:00
extras/primary | 117 kB 00:00
extras 290/290
rpmforge | 1.1 kB 00:00
rpmforge/primary | 3.6 MB 00:06
rpmforge 9865/9865
updates | 1.9 kB 00:00
updates/primary_db | 569 kB 00:00
461 packages excluded due to repository priority protections
You have new mail in /var/spool/mail/root
Re: help moving /var
It has to be something with the updates. I did a clean install and did not update and used the same steps as above and it works fine.
did another clean install updated via yum did the same steps and it does not work. I have a feeling it has something to do with the selinux update but not sure.
did another clean install updated via yum did the same steps and it does not work. I have a feeling it has something to do with the selinux update but not sure.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: help moving /var
Sounds like it may merit a [url=http://bugs.centos.org/main_page.php]bug report[/url].
Re: help moving /var
I submitted the bug report please let me know if you need more information or need me to test something.
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Re: help moving /var
For future reference, a link to [url=http://bugs.centos.org/view.php?id=4184]your bug report[/url] would have been helpful.
Re: help moving /var
they marked it as not a bug and told me to get help here =(
not sure I fully understand why mv would not preserver the context.
not sure I fully understand why mv would not preserver the context.