New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !
Can't Access Squeezeserver
Re: Can't Access Squeezeserver
I friend of mine bought a B2 at the same time as me but with a 1 TB drive instead of the 2TB in mine. He has plenty of swap (1129) compared to my 0. Is this consistent with ryz's observations?
Re: Can't Access Squeezeserver
I installed a 2TB HDD as well. I've got no swap space on it.
Re: Can't Access Squeezeserver
The lack of swap space is a known issue in some older releases of B2 with 2TB disks, due to an error in the installer which at that time used fdisk for the partitioning of the disk. I can't tell exactly which release is was discovered, but the current installer should be able to cope with it (it uses parted instead of fdisk).Binkem wrote:I installed a 2TB HDD as well. I've got no swap space on it.
If it still doesn't work, please inform me, and I will look into it. It is possible to circumvent the problem in the old installer by pre-partitioning the hard disk and in the installer config file, set PARTITION=0.
Re: Can't Access Squeezeserver
I did use a new install image (downloaded 2,5 weeks ago). My problem now is that I've got a running bubba without a swap. What I would like to know is how to create a swap partition on this Bubba.
Re: Can't Access Squeezeserver
I am afraid that the only alternative to a reinstall is to put the hard drive into an other computer and shrink one of the partitions to make room for an swap partition. You can not shrink an partition when it is in use and that's why it is hard to do it from the Bubba itself.
One good tool to use is gparted. It is simple to use and has good support for resizing Linux partitions. It can also create swap partitions. I would also recommend to shrink the end of the partition since if you shrink it from the start gparted will first shrink it from the end and then move the partition. resizing an partition can take a lot of time up to a day or so.
If you do not have any Linux computer you could always use an live Linux cd that has gparted for instance http://gparted.sourceforge.net/livecd.php.
One good tool to use is gparted. It is simple to use and has good support for resizing Linux partitions. It can also create swap partitions. I would also recommend to shrink the end of the partition since if you shrink it from the start gparted will first shrink it from the end and then move the partition. resizing an partition can take a lot of time up to a day or so.
If you do not have any Linux computer you could always use an live Linux cd that has gparted for instance http://gparted.sourceforge.net/livecd.php.
Re: Can't Access Squeezeserver
There is an alternative: a file for swap space:
and then edit /etc/fstab
My suggestion would be to see if this solves problems before messing with partitions. Gparted is pretty safe but I have seen is completely bugger up hard drives as well...
Code: Select all
dd if=/dev/zero of=/myswapfile bs=1M count=1024
chmod 600 /myswapfile
mkswap /myswapfile
swapon /myswapfile
Code: Select all
/myswapfile swap swap defaults 0 0
Re: Can't Access Squeezeserver
As can all such tools. gparted also relies on an X Window system, so you would either have to install one and use something like vnc, or set up a X11 server on another machine and redirect the output with the $DISPLAY variable...Gparted is pretty safe but I have seen is completely bugger up hard drives as well...
Examples on how to do both of these things can be found in the how-to thread and in the wiki.
Cheers,
Cheeseboy
Re: Can't Access Squeezeserver
sorry but that last part is not really relevant. Gparted is meant to run from a live cd which comes equipped with a gui. nothing else is needed (except, as mentioned, you need to take the hd into another machine)
and yes all tools have flaws, but for partition toolss the flaws have horrible consequences. Hence my sugestion to try the software route first
and yes all tools have flaws, but for partition toolss the flaws have horrible consequences. Hence my sugestion to try the software route first
Re: Can't Access Squeezeserver
Correct.sorry but that last part is not really relevant
Sorry, didn't read the entire thread...
Re: Can't Access Squeezeserver
I loaded the swap file as per Ubi's suggestion and everything immediately began to work - thankyou very much.There is an alternative: a file for swap space:...
I must say I am very disappointed with Excito on their customer support. No response apart from their automatic reply. They sell me a defective product and make no effort to notify me or rectify the problem. What do they understand about the concept of customer service? I guess they rely on the forum members to it for them.
Re: Can't Access Squeezeserver
Thanks Ubi for the outline on how to create a swap file.
-
- Posts: 904
- Joined: 09 Oct 2009, 18:49
Re: Can't Access Squeezeserver
About nine posts up there is a post from Carl. He is a top bod at Excito. He explained the problem and offered both a workaround and more help if it's needed. Not sure what more you expect, someone coming round your house personally to fix it?Bultee wrote:I loaded the swap file as per Ubi's suggestion and everything immediately began to work - thankyou very much.There is an alternative: a file for swap space:...
I must say I am very disappointed with Excito on their customer support. No response apart from their automatic reply. They sell me a defective product and make no effort to notify me or rectify the problem. What do they understand about the concept of customer service? I guess they rely on the forum members to it for them.
[looks like I'm channelling Ubi. Oh well.]
Re: Can't Access Squeezeserver
Yes, Bultee, I apologise for the delay in answering email support lately. We are soon in pace again, we have had a peak we coudln't handle.
Carl will look in to why the 2.0 installer doesn't work properly as Binkem observed.
Carl will look in to why the 2.0 installer doesn't work properly as Binkem observed.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
Re: Can't Access Squeezeserver
Ok, yes, we have confirmed that this issue is still present in the latest B2 installer, for fresh installations on unpartioned disks with 2 TB size. The reason we didn't see this before is that we installed differently in production, but the last units shipped we used the installer anyways.
A fix is coming up, but it will take some time (appr. a month or so). Sorry for this. If you need help with manual fixes in the mean time either use Ubi's suggestion above or contact us and we'll help.
A fix is coming up, but it will take some time (appr. a month or so). Sorry for this. If you need help with manual fixes in the mean time either use Ubi's suggestion above or contact us and we'll help.
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)