Unable to read /data
Hi all,
Ubuntu 12.04 desktop 64bit I have 2 HDs, both with Ubuntu12.04 desktop 64bit running, connected in the same PC. HD-1 traditional partitoning HD-2 LVM volume partitioning. On running the OS on HD-1, HD-2 can't be viewed automatically On running the OS on HD-2, HD-1 can be viewed automatically. On running the OS on HD-1, I have to mount HD-2 with LVM volume partitions. Then I can view HD-2. But I can't view the content of /data partition. # ls -ald /mnt/data Code:
drwxr-xr-x 2 root root 4096 Dec 28 13:11 /mnt/data Code:
total 8 # ls /mnt/ Code:
bin etc initrd.img.old media root srv var B.R. satimis |
Not sure I exactly follow the question and not enough information provided.
Post the partition layout of your drives including the logical volumes. Please define what is the /data partition. Is /mnt/data on HD-1 or HD-2 etc? How are you mounting the LVM logical volumes? If /mnt/data is part of the LVM partition then you need to use the relative path to the mounted logical volume. i.e. /LV_mount_point/mnt/data vs /mnt/data when trying to access information from HD-2 when running HD-1 OS. |
Quote:
Thanks for your advice. I already solved my problem by performing following steps; (It is on HD-1, the old HD. The /data partition is on HD-2, new HD) $ sudo mkdir /media/data [sudo] password for satimis: $ sudo -i # pvs Code:
PV VG Fmt Attr PSize PFree Code:
LV Name /dev/LVM1.5D/root # ls /media/data/ Code:
lost+found OVA Satimis_Document VirtualBox VirtualBox VMs Previously before posting I made a mistake running; $ sudo mount /dev/LVM1.5D/data /mnt No complaint. $ ls -al /mnt No printout Now I found; # ls /mnt/ Code:
remoteserver Code:
total 8 Regards satimis |
All times are GMT -5. The time now is 03:52 AM. |