LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2022, 12:26 AM   #16
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053

Quote:
Originally Posted by zapeador View Post
It seems not, but if you give "search for this page title" the first one that comes up is, I know why putting it here does not take you there

https://pve.proxmox.com/wiki/Passthr...al_Machine_(VM)
Pretty sure you meant to say "I don't know why..."

Anyhow, LQ is mangling URLs that end in a round bracket. You can fix it manually after LQ created the [url]...[/url] tags:
https://pve.proxmox.com/wiki/Passthr...l_Machine_(VM)

Last edited by ondoho; 04-15-2022 at 12:20 PM.
 
Old 04-15-2022, 04:26 AM   #17
zapeador
LQ Newbie
 
Registered: Mar 2022
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by scasey View Post
Um. I’m confused. Why would you expect a file created in /mnt/bak to be visible in /mnt/data ?
because the 2 are the same point
 
Old 04-15-2022, 04:27 AM   #18
zapeador
LQ Newbie
 
Registered: Mar 2022
Posts: 27

Original Poster
Rep: Reputation: 0
these are df -h of the 2 machines, even from what I see they don't even match the percentages of use for that I put below the uuid of the disks and you can see that they are exactly the same


machines 1

S.ficheros Tamaño Usados Disp Uso% Montado en
/dev/sda2 94G 14G 76G 16% /
/dev/sdb1 21T 12T 8,8T 56% /mnt/back
10.70.9.60:/backups 1,8T 1,4T 331G 81% /maquina_bakups

blkid
/dev/sdb1: UUID="17799b02-1134-4102-9c86-1ea11adde8f3" TYPE="ext4" PARTUUID="a7017e92-63d4-f448-9c3c-b5b8a88475b7"


machines 2

S.ficheros Tamaño Usados Disp Uso% Montado en
/dev/sda3 490G 140G 325G 31% /
/dev/sdb1 21T 7,7T 13T 39% /mnt/datos
/dev/sda2 473M 86M 363M 20% /boot
/dev/sda1 511M 3,3M 508M 1% /boot/efi


blkid
/dev/sdb1: UUID="17799b02-1134-4102-9c86-1ea11adde8f3" TYPE="ext4" PARTUUID="a7017e92-63d4-f448-9c3c-b5b8a88475b7"


this topic really drives me crazy
 
Old 04-15-2022, 07:46 AM   #19
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,894

Rep: Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317Reputation: 7317
ok, so you stated the following:
Code:
Machine1
/dev/sdb1 21T 12T 8,8T 56% /mnt/back
blkid
/dev/sdb1: UUID="17799b02-1134-4102-9c86-1ea11adde8f3" TYPE="ext4" PARTUUID="a7017e92-63d4-f448-9c3c-b5b8a88475b7"
Machine2
/dev/sdb1 21T 7,7T 13T 39% /mnt/datos
blkid
/dev/sdb1: UUID="17799b02-1134-4102-9c86-1ea11adde8f3" TYPE="ext4" PARTUUID="a7017e92-63d4-f448-9c3c-b5b8a88475b7"

Machine2 is a VM inside machine1.
How /dev/sdb1 is mounted? (local or remote on machine1 and machine2)?


I guess there is a cache somewhere and when you access /dev/sdb1 on machine1 the other one does not recognize the change and still use the old data from cache.
You might need to invalidate that cache. But actually we don't know this setup (how this drive is shared/mounted), so I'm not really sure about that.
 
Old 04-15-2022, 07:57 AM   #20
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,143

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Normal filesystems cannot be mounted on multiple systems. They have no support for shared access. The best filesystem to do this on Linux is probably GFS2. https://en.wikipedia.org/wiki/GFS2
 
Old 04-15-2022, 09:46 AM   #21
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,650

Rep: Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970Reputation: 7970
Quote:
Originally Posted by pan64 View Post
ok, so you stated the following:
Code:
Machine1
/dev/sdb1 21T 12T 8,8T 56% /mnt/back
blkid
/dev/sdb1: UUID="17799b02-1134-4102-9c86-1ea11adde8f3" TYPE="ext4" PARTUUID="a7017e92-63d4-f448-9c3c-b5b8a88475b7"
Machine2
/dev/sdb1 21T 7,7T 13T 39% /mnt/datos
blkid
/dev/sdb1: UUID="17799b02-1134-4102-9c86-1ea11adde8f3" TYPE="ext4" PARTUUID="a7017e92-63d4-f448-9c3c-b5b8a88475b7"

Machine2 is a VM inside machine1.
How /dev/sdb1 is mounted? (local or remote on machine1 and machine2)?

I guess there is a cache somewhere and when you access /dev/sdb1 on machine1 the other one does not recognize the change and still use the old data from cache. You might need to invalidate that cache. But actually we don't know this setup (how this drive is shared/mounted), so I'm not really sure about that.
And based on what's posted here, this is absolutely a continuation of the OP's other thread regarding backups:
https://www.linuxquestions.org/quest...ds-4175710171/

Given that the op posted this (bolded for emphasis only):
Code:
/dev/sdb1 21T 12T 8,8T 56% /mnt/back
10.70.9.60:/backups 1,8T 1,4T 331G 81% /maquina_bakups
OP, given the fact you have JUST NOW SAID (after two threads, and 18 posts in this one), that the second machine is a VM **ON THE FIRST** is a good reason for you to actually answer questions. Think about what you're saying: you're trying to mount a disk on machine 1...from another machine that is ALSO on machine 1. You're still trying to mount the same resource that's already mounted.

That, plus the fact you're not giving any details and keep opening threads about the same system, apparently thinking no one here is going to notice.

Last edited by TB0ne; 04-15-2022 at 11:11 AM.
 
  


Reply

Tags
hd



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can i dd if=/dev/sdb of=/dev/sdc if hdsize(sdb)>hdsize(sdc) & size(sdb)<hdsize(sdc) ? ununun Linux - Software 6 06-28-2011 11:48 AM
[SOLVED] Grub: If exists sdb, then boot sdb, else sda defaultyeti Linux - Desktop 6 06-28-2011 02:38 AM
Converting sLoPPy cASE to Pretty Case with tr lowpro2k3 Programming 4 04-13-2005 08:13 PM
Why are all my upper case files being shown as lower case?? [Kernel 2.6.9-1.667 FC3] t3gah Fedora 4 03-11-2005 04:09 PM
Lower case to upper case letter sudhasmyle Programming 1 12-03-2004 04:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration