LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 01-17-2008, 04:55 AM   #1
yuye811
LQ Newbie
 
Registered: Dec 2007
Posts: 17

Rep: Reputation: 0
About LVM, is this hosting company honest ?


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.
 
Old 01-17-2008, 05:01 AM   #2
yuye811
LQ Newbie
 
Registered: Dec 2007
Posts: 17

Original Poster
Rep: Reputation: 0
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)
 
Old 01-17-2008, 05:12 AM   #3
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
I don't follow your logic

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
 
Old 01-17-2008, 05:14 AM   #4
rupertwh
Member
 
Registered: Sep 2006
Location: Munich, Germany
Distribution: Debian / Ubuntu
Posts: 296

Rep: Reputation: 49
I'd say yes, you are paranoid. ;o)

Have a look at the LVM Howto and do a
Code:
fdisk -l
to see what physical hard disks your machine has.
 
Old 01-17-2008, 05:19 AM   #5
yuye811
LQ Newbie
 
Registered: Dec 2007
Posts: 17

Original Poster
Rep: Reputation: 0
CentOS 5
500 GB SATA

Site offers two plans:
plan A tell you explicitly that "two" 500G
Which implicitly suggest that plan B is single 500G

Last edited by yuye811; 01-17-2008 at 05:27 AM.
 
Old 01-17-2008, 05:27 AM   #6
yuye811
LQ Newbie
 
Registered: Dec 2007
Posts: 17

Original Poster
Rep: Reputation: 0
# fdisk -l
gives:
-bash: /sbin/fdisk: input/output error

# ps
gives:
-bash: /sbin/ps: input/output error

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 ?

Last edited by yuye811; 01-17-2008 at 05:37 AM.
 
Old 01-17-2008, 06:30 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,283

Rep: Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028Reputation: 1028
a) yep, you're paranoid
b) you've got a filesystem problem. That needs to be fsck'd, and you may not be able to do it.

How good are your backups ???.
 
Old 01-18-2008, 12:40 AM   #8
yuye811
LQ Newbie
 
Registered: Dec 2007
Posts: 17

Original Poster
Rep: Reputation: 0
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).

Last edited by yuye811; 01-18-2008 at 12:46 AM.
 
Old 01-18-2008, 12:42 AM   #9
billymayday
Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Perhaps try fsck -N to see if there's anything wrong in the first instance
 
Old 01-18-2008, 08:13 AM   #10
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
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.

Last edited by trickykid; 01-18-2008 at 08:16 AM.
 
Old 01-18-2008, 02:36 PM   #11
KnightHawk
Member
 
Registered: Aug 2005
Posts: 128

Rep: Reputation: 15
Quote:
Originally Posted by trickykid View Post
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.
 
Old 01-18-2008, 03:46 PM   #12
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by KnightHawk View Post
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.
 
Old 01-18-2008, 11:09 PM   #13
yuye811
LQ Newbie
 
Registered: Dec 2007
Posts: 17

Original Poster
Rep: Reputation: 0
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.

Last edited by yuye811; 01-18-2008 at 11:10 PM.
 
Old 01-19-2008, 09:01 AM   #14
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Quote:
Originally Posted by yuye811 View Post
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.
 
Old 01-19-2008, 04:52 PM   #15
yuye811
LQ Newbie
 
Registered: Dec 2007
Posts: 17

Original Poster
Rep: Reputation: 0
I emailed them, they told me it is not VPS.

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 ~

Last edited by yuye811; 01-19-2008 at 04:53 PM.
 
  


Reply


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
Starting a Web Hosting Company sbabcock23 Linux - Newbie 4 01-16-2008 08:54 AM
LXer: Web Hosting Provider Verizon Business Expands Managed Hosting ... LXer Syndicated Linux News 0 09-17-2006 06:21 AM
Be honest with yourself warpeace2006 General 14 05-21-2006 12:02 PM
LXer: Web Hosting Provider Zen Internet Offer Linux Hosting Trial for 1 ... LXer Syndicated Linux News 0 04-20-2006 09:33 PM
Setting Of A Small Web Hosting Company!! AskMe Linux - General 12 06-08-2004 09:09 AM


All times are GMT -5. The time now is 09:52 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration