LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   where is my /home dir with this setup (https://www.linuxquestions.org/questions/linux-newbie-8/where-is-my-home-dir-with-this-setup-4175457809/)

dogrun 04-11-2013 12:42 PM

where is my /home dir with this setup
 
Hi,

This might be a stupid question but I am trying to find out what is wrong with my setup:

I have two HDD, 250GB and 800GB and mounted as follows:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_pomlinuxwork-lv_root
51606140 6059328 45022724 12% /
tmpfs 1543988 24 1543964 1% /dev/shm
/dev/sda1 495844 27640 442604 6% /boot
/dev/mapper/vg_pomlinuxwork-lv_home
712969888 212253480 464499576 32% /home

Obviously the root (/) partition is on the small HDD and my /home dir is on the 800GB drive.
The small disk is giving me errors of 'disk has many bad sectors'. Some linux blog I visited suggested that I should change the HDD.

So preparing to remove the small HDD:

The 250GB is on SATA0 and 800GB is on SATA1, some how with my installation (a long time ago)I can disconnect the SATA0 and system booted ok.
Just the 800GB drive alone, everything works just fine.

So the question is where is the /etc directory resides, on the root (250GB drive?), if this is the case then all my linux software is on the small disk?
why I can boot linux up without the small HDD?

thanks for your time and be kind.

TobiSGD 04-11-2013 12:54 PM

Quote:

Originally Posted by dogrun (Post 4929859)
Obviously the root (/) partition is on the small HDD and my /home dir is on the 800GB drive.

That is not at all obvious. You have both on an LVM volume group and the output of mount will not tell you how you configured your LVM.
Use the command pvdisplay to check which physical volumes are part of that volume group, but that you can boot without the 250GB disk indicates that the complete volume group resides on the 800GB disk.

dogrun 04-11-2013 11:17 PM

thanks so much, will look into this.


All times are GMT -5. The time now is 11:10 AM.