LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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-12-2022, 05:46 AM   #1
zapeador
LQ Newbie
 
Registered: Mar 2022
Posts: 27

Rep: Reputation: 0
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
 
Old 04-12-2022, 08:15 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,687

Rep: Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274Reputation: 7274
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...)
 
Old 04-12-2022, 08:34 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by zapeador View Post
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?
 
1 members found this post helpful.
Old 04-12-2022, 05:24 PM   #4
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,327

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
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
 
Old 04-13-2022, 01:49 AM   #5
zapeador
LQ Newbie
 
Registered: Mar 2022
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pan64 View Post
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
 
Old 04-13-2022, 01:50 AM   #6
zapeador
LQ Newbie
 
Registered: Mar 2022
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
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
 
Old 04-13-2022, 01:54 AM   #7
zapeador
LQ Newbie
 
Registered: Mar 2022
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by computersavvy View Post
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)
 
Old 04-13-2022, 06:51 AM   #8
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,327

Rep: Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481Reputation: 1481
Quote:
Originally Posted by zapeador View Post
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.
 
Old 04-13-2022, 08:05 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,553

Rep: Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946Reputation: 7946
Quote:
Originally Posted by zapeador View Post
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.
 
Old 04-13-2022, 08:44 AM   #10
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,508

Rep: Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656Reputation: 2656
Quote:
Originally Posted by zapeador View Post
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.

Last edited by wpeckham; 04-13-2022 at 08:48 AM.
 
1 members found this post helpful.
Old 04-13-2022, 11:46 PM   #11
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
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.

Last edited by ondoho; 04-15-2022 at 12:24 PM. Reason: phrasing, emphasis
 
1 members found this post helpful.
Old 04-14-2022, 06:09 PM   #12
zapeador
LQ Newbie
 
Registered: Mar 2022
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by TB0ne View Post
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
 
Old 04-14-2022, 06:15 PM   #13
zapeador
LQ Newbie
 
Registered: Mar 2022
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by computersavvy View Post
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)

Last edited by zapeador; 04-14-2022 at 06:18 PM.
 
Old 04-14-2022, 06:19 PM   #14
zapeador
LQ Newbie
 
Registered: Mar 2022
Posts: 27

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by wpeckham View Post
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
 
Old 04-14-2022, 06:33 PM   #15
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,708

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
Unhappy

Quote:
Originally Posted by zapeador View Post
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 ?
 
1 members found this post helpful.
  


Reply

Tags
hd


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:04 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