LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   strange case in sdb (https://www.linuxquestions.org/questions/linux-newbie-8/strange-case-in-sdb-4175710697/)

zapeador 04-12-2022 05:46 AM

strange case in sdb
 
Hello, to see if you can help me in this strange case, I will try to explain it as best as possible

let's see I have a main machine called "machine 1" that among other functions is to be a virtual machine server that has 2 disks, an sda that is where the machines are and others and that in its 3rd partition I mean sda3 is the / and this is 100G
and then I have an sdb1 that in "machine1" is mounted in /mnt/bak and this is 20 TERAs and that same disk is mounted in "machine 2" in /mnt/data

The problem is that when creating a file on "machine1" in the path /mnt/bak SOMETIMES it is created but it takes several minutes to appear and other times it is not created

look at the uuide of the album and it's the same... this topic drives me crazy

pan64 04-12-2022 08:15 AM

hello and welcome here, at LQ!

would be nice to explain what did you try exactly (how did you create a file, where, how did you check it and where ...., other things you made...)

TB0ne 04-12-2022 08:34 AM

Quote:

Originally Posted by zapeador (Post 6345523)
Hello, to see if you can help me in this strange case, I will try to explain it as best as possible
let's see I have a main machine called "machine 1" that among other functions is to be a virtual machine server that has 2 disks, an sda that is where the machines are and others and that in its 3rd partition I mean sda3 is the / and this is 100G and then I have an sdb1 that in "machine1" is mounted in /mnt/bak and this is 20 TERAs and that same disk is mounted in "machine 2" in /mnt/data

The problem is that when creating a file on "machine1" in the path /mnt/bak SOMETIMES it is created but it takes several minutes to appear and other times it is not created look at the uuide of the album and it's the same... this topic drives me crazy

Related to this, by chance??
https://www.linuxquestions.org/quest...ds-4175710171/

Since we still have no ideas on what this machine is running (version/distro of Linux), or what you're actually trying to DO, with what commands, what do you think we'll be able to tell you?

computersavvy 04-12-2022 05:24 PM

We also do not know where or how this device is made available. You said it is mounted on 2 different machines, so is it NFS, SMB, physically in one and remotely mounted on the other, in an NAS and remotely mounted on both machines, or just how is the layout?

All these factors can affect the proper solution

zapeador 04-13-2022 01:49 AM

Quote:

Originally Posted by pan64 (Post 6345556)
hello and welcome here, at LQ!

would be nice to explain what did you try exactly (how did you create a file, where, how did you check it and where ...., other things you made...)

I created the file with touch but also by moving an existing file in that same directory, I explain myself better with examples

I created a file like this in "machine1" touch /mnt/bak/11 and in "machine2" it was not seen in the /mnt/data directory

But I also moved (renamed) an existing file and that file was not seen either

mv /mnt/back/dir1/file1.txt /mnt/back/dir1/file2.txt

being file1.txt a file that went before in /mnt/data/dir1 but when renaming it it was no longer visible, although an hour later or so I did an ls to the file again if it appeared

zapeador 04-13-2022 01:50 AM

Quote:

Originally Posted by TB0ne (Post 6345562)
Related to this, by chance??
https://www.linuxquestions.org/quest...ds-4175710171/

Since we still have no ideas on what this machine is running (version/distro of Linux), or what you're actually trying to DO, with what commands, what do you think we'll be able to tell you?

Please, do you see that it has something to do with that topic? no... if you are going to be reproaching things from other topics without providing help, please refrain from doing so

zapeador 04-13-2022 01:54 AM

Quote:

Originally Posted by computersavvy (Post 6345697)
We also do not know where or how this device is made available. You said it is mounted on 2 different machines, so is it NFS, SMB, physically in one and remotely mounted on the other, in an NAS and remotely mounted on both machines, or just how is the layout?

All these factors can affect the proper solution

Hello, there are 2 machines, one is the host (machine1) and the other is a virtual one within the first

Do the following process to share the drive

https://pve.proxmox.com/wiki/Passthr...al_Machine_(VM)

computersavvy 04-13-2022 06:51 AM

Quote:

Originally Posted by zapeador (Post 6345765)
Hello, there are 2 machines, one is the host (machine1) and the other is a virtual one within the first

Do the following process to share the drive

https://pve.proxmox.com/wiki/Passthr...al_Machine_(VM)

What you posted is helpful on the physical layout. The link, however, does not work for me so I cannot see what you are doing for sharing.

Two linux machines, one the host and the other the VM, have independent driver space that can normally only be shared by using something like NFS with one being the NFS server and the other the client. I don't know if the info at that link follows that paradigm or something different but sharing implies one as the owner and the other as the guest.

We need a functional link or more detail.

Also, you should be able to use ssh to open a session from one system to the other to actually see if the file is there.

It seems the sharing process may not be functional as configured, so more detail is needed.

TB0ne 04-13-2022 08:05 AM

Quote:

Originally Posted by zapeador (Post 6345763)
Please, do you see that it has something to do with that topic? no... if you are going to be reproaching things from other topics without providing help, please refrain from doing so

First, asking something isn't 'reproaching' things. Secondly, if you want to be snotty, don't expect much help from people. As in your other thread, you are *NOT* answering the question, are you?? Is this machine related to that? Is this the mystery 'backup machine' you mentioned? Sure sounds like it...lots of disk space, networked, attached to other machines, etc.

So again...since you're not answering questions or providing details, there is *NOTHING* we can help you with.

wpeckham 04-13-2022 08:44 AM

Quote:

Originally Posted by zapeador (Post 6345762)
I created the file with touch but also by moving an existing file in that same directory, I explain myself better with examples

I created a file like this in "machine1" touch /mnt/bak/11 and in "machine2" it was not seen in the /mnt/data directory

But I also moved (renamed) an existing file and that file was not seen either

mv /mnt/back/dir1/file1.txt /mnt/back/dir1/file2.txt

being file1.txt a file that went before in /mnt/data/dir1 but when renaming it it was no longer visible, although an hour later or so I did an ls to the file again if it appeared

What do you mean by "seen" in this context?
If you mean using ls in terminal session that is one thing, if you mean in a gui listing using a file manager that is something else.

In troubleshooting, clarity and detail matter a LOT. By assuming we all know exactly what you are doing, have done, and are seeing without answering the questions that would reveal that detail you just make this so much HARDER than it needs to be. Please stop rejecting the people who are trying to help you.

ondoho 04-13-2022 11:46 PM

Quote:

Originally Posted by zapeador (Post 6345763)
Please, do you see that it has something to do with that topic? no... if you are going to be reproaching things from other topics without providing help, please refrain from doing so

What TB0ne posted was very helpful, because it gives some context to your current thread that, again, does not provide enough initial information, we have to pull it out of you bit by bit.

IMO a "reproach" is well justified here because you never put in enough effort in your previous thread, instead you just abandoned it and started a new one that is lacking initial information just like the previous one; obviously in the hope that somebody else will come along and play guessing games with you.

Instead of now telling me to go where the sun don't shine, I recommend that you take the request for specific info to heart and follow up on it.

LQ is not a free 24/7 helpdesk, you will only find solutions here if you work harder than the rest of us - after all, it's your machine.
The alternative is for someone to come 'round your place and do it for you; standard rates may apply.

zapeador 04-14-2022 06:09 PM

Quote:

Originally Posted by TB0ne (Post 6345826)
First, asking something isn't 'reproaching' things. Secondly, if you want to be snotty, don't expect much help from people. As in your other thread, you are *NOT* answering the question, are you?? Is this machine related to that? Is this the mystery 'backup machine' you mentioned? Sure sounds like it...lots of disk space, networked, attached to other machines, etc.

So again...since you're not answering questions or providing details, there is *NOTHING* we can help you with.

It seems to me that you are reproaching me for bringing up a topic from one thread to another, but in answer to your question, no, they are not the same machine, nor do I open another thread to respond to the other, I have a lot of disk space on many machines, the machine that was speaking in the other thread it has that space several times, that is, to clarify your doubt... it is neither the same machine nor the same topic.
Now if you want to help in this I will be very grateful and for my part no rancor

zapeador 04-14-2022 06:15 PM

Quote:

Originally Posted by computersavvy (Post 6345808)
What you posted is helpful on the physical layout. The link, however, does not work for me so I cannot see what you are doing for sharing.

Two linux machines, one the host and the other the VM, have independent driver space that can normally only be shared by using something like NFS with one being the NFS server and the other the client. I don't know if the info at that link follows that paradigm or something different but sharing implies one as the owner and the other as the guest.

We need a functional link or more detail.

Also, you should be able to use ssh to open a session from one system to the other to actually see if the file is there.

It seems the sharing process may not be functional as configured, so more detail is needed.

I've gone back to look for the post and I'll put it back here to see if it works now because he explains it better than me

**edit
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)

zapeador 04-14-2022 06:19 PM

Quote:

Originally Posted by wpeckham (Post 6345835)
What do you mean by "seen" in this context?
If you mean using ls in terminal session that is one thing, if you mean in a gui listing using a file manager that is something else.

In troubleshooting, clarity and detail matter a LOT. By assuming we all know exactly what you are doing, have done, and are seeing without answering the questions that would reveal that detail you just make this so much HARDER than it needs to be. Please stop rejecting the people who are trying to help you.


I mean an ls -alh, these machines do not have any graphical interface

scasey 04-14-2022 06:33 PM

Quote:

Originally Posted by zapeador (Post 6345762)
I created the file with touch but also by moving an existing file in that same directory, I explain myself better with examples

I created a file like this in "machine1" touch /mnt/bak/11 and in "machine2" it was not seen in the /mnt/data directory

Um. I’m confused. Why would you expect a file created in /mnt/bak to be visible in /mnt/data ?


All times are GMT -5. The time now is 07:19 AM.