Unable to read /data
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
# ls /mnt/
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.
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
# ls /media/data/
Previously before posting I made a mistake running;
$ sudo mount /dev/LVM1.5D/data /mnt
$ ls -al /mnt
Now I found;
# ls /mnt/
|All times are GMT -5. The time now is 07:11 AM.|