Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I am current paying for a dedicated server in Canada.
do a "df -h" after login:
------------------------------------size-Usd-Ava------
/dev/mapper/volumeGroup123-LogVo123 200G 10G 190G ...
/dev/sda1 100M 10M 90M ... /boot
tmpfs 100M 0 100M ... /shm
So this means the 200G is on LVM -- Logic Volume, well, my question is that is this company actually honest with me ?
If this is a dedicate server, why would they use LVM ?
It seems to me, the server has very small local hard drive, then share Logical Volumes through the network with many other servers. This allows them to keep the Shared Hard Drives as few as possible and add more only if all the clients are using up more space.
the amount of Space they need to keep up is :
= hd space used by all clients + hd space offered to an individual client (200G) in this case
Am I paranoid or do you also agree with me?
I am not revealing hosting company name, and exact numbers, because I am not at "expert level" with linux and don't want to draw wrong conclusion.
I am doing df because today, first I got seesion effort, telling me that "read only system blah blah" , so I root ssh in, and try to restart httpd, I can't restart :
Starting httpd: (30)Read-only file system
well, so I starting to think there might be problems with filesystem.
df to find out it is mapped hard drive
I don't much experience with LVM, do people complain about LVM's stability ? (guessing it is related to stability)
Set up a server under RedHat for example, and you get a similar df, since RH uses LVM by default. LVM just lets you combine multiple drives into a single logical volume that appears as one in the file system.
Since your /boot is sda1, I'd expect this to be a single machine
Basically only few commands work now, "reboot" is not working either.
I think I am planning to just pay a bit more to get colo in LA. So frustrating almost every other day, I run into problem that php session is read-only.
i am going to try fdisk -l when server is back.
if the hard drive is mounted through network, what am I supposed to see when fdisk -l ?
a) I wasn't sure, so I tried not to accuse host company
b) no, I have no backup
yes, I can run "fsck", (I notice on VPS it doesn't allow fsck) it gives me following message:
WARNING!!! Running e2fsck on a mounted filesystem may cause
SEVERE filesystem damage.
Do you really want to continue (y/n)?
I am a developer in real life, never bothered with backup operation, so what do you recommend ?
Making a small sports hobbit website. will have a database, and some images files, later might have some videos(not soon).
You probably do have a dedicated server but as a Virtual Server with 10 other clients. That's how a lot of hosting providers work and can provide dedicated hosting to many customers. I seriously doubt they have a 5-10k dollar server they're providing for the average prices along with all the other costs in a hosting type environment.
They market a dedicated server and that's what you got most likely, just remember though they might have 10-15 dedicated servers on one server though.. which is legal and okay really.
And I've dealt with read only filesystems with dedicated hosting providers, unless you have some other remote access or physical access, you'll need to contact support in most cases. Call support, tell them issue, they'll have it fixed in a few minutes most likely if they have decent support.
You probably do have a dedicated server but as a Virtual Server with 10 other clients. That's how a lot of hosting providers work and can provide dedicated hosting to many customers. I seriously doubt they have a 5-10k dollar server they're providing for the average prices along with all the other costs in a hosting type environment.
They market a dedicated server and that's what you got most likely, just remember though they might have 10-15 dedicated servers on one server though.. which is legal and okay really.
And I've dealt with read only filesystems with dedicated hosting providers, unless you have some other remote access or physical access, you'll need to contact support in most cases. Call support, tell them issue, they'll have it fixed in a few minutes most likely if they have decent support.
And I'd add to this, that doing things like fdisk, starting and stopping services, and mucking around with php sessions are exactly the sort of things that a good admin on a shared system will not let you do.
And I'd add to this, that doing things like fdisk, starting and stopping services, and mucking around with php sessions are exactly the sort of things that a good admin on a shared system will not let you do.
Well not really in this situation. He probably is root for the OS instance and Virtual Machine they have dedicated for him. What's impossible usually is if the system is read-only due to actual hardware issues (I've seen controllers cause this issue on a hardware level) and with a read only filesystem where nothing can get written to it, reboot won't work. Nothing will essentially work. Who knows if the Virtual Machine is on a filesystem on the server that only has read only access.
That's why at this time, they need to call their support and explain the situation. I'm willing to bet it'll be fixed in a matter of minutes, most likely after a cold reboot of the system.
Sorry for the confusion.
My problem was encountered on that dedicated server, not VPS.
I do have a VPS at godaddy. And I know I can't use fdisk.
I couldn't do fdisk, ps on the fully dedicated server (tell me input / out error). Not a Virtual Machine. I contacted the support to reboot. After reboot, ps and fdisk allowed again.
I couldn't do fdisk, ps on the fully dedicated server (tell me input / out error). Not a Virtual Machine. I contacted the support to reboot. After reboot, ps and fdisk allowed again.
That's the only way to get around the read-only in most cases, reboot like I explained earlier. But really, don't let them fool you, it's most likely a dedicated server but as a virtual server. Like explained before, I don't know how much you pay per month but if it's probably $200 or less a month, you got yourself a virtual dedicated server.
The key point of the problem is that I don't want to see the Server run into "session read-only" problem every other day. Most of the time I can run Reboot command and take care of it. But rebooting every other day is just crazy to think about. Their support never ever answers the phone, only way to get them is via email and wait.
I am going to cancel the hosting, I already ordered a server from tigerdirect. Once the hardware arrive, I am going Colo in LA downtown where I can have physical access to.
Thank you guys for providing answers and opinions ~ Have a nice weekend ~
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.