I use LVM on my main desktop machine. This is awesome because it allows me to dynamically allocate space to partitions as I choose, however I always forget how to do a resize, so I’m going to write it down here. This isn’t going to be a full LVM tutorial (there’s plenty of material out there for that), although maybe that’s an idea for the future.
The following commands will resize an ext2, ext3, or ext4 filesystem running on LVM while it is mounted:
$ sudo lvresize -L +XXG <path to fs device>
$ sudo resize2fs <path to fs device>
In the above command you need to replace XX with the number of GB you want the filesystem to grow by and <path to fs device> by the device node (typically /dev/mapper/something).
An there you have it, done! Obviously there is a huge amount more you can do with the two tools above, take a look at their man pages for more info.
Hopefully this post will save me from having to work out how to do this every time!
Well it’s been a couple of days since I posted my rant about my bad experience with turnitin.com on Ubuntu and (shock horror!) I’ve had a response (thus defying the title of this blog).
The responder was Stephen Sharon via Twitter, he’s written a paper around some of the legal concerns over turnitin and he sent me the link. It’s good reading and confirms some of the things I had heard surrounding the site. I’d encourage everyone reading this to click through and read Stephen’s paper (it’s 38 pages, but double spaced and with much of each page containing references).
I’m not qualified to give legal comment on tunitin (I’m an Engineer not a Lawyer), but I will give my opinion. Before I do I’d like to give the following disclaimer (in true Software Freedom Law Show style):
WARNING: The following DOES NOT (in any way, shape or form) constitute legal advice, it is only my own (perhaps misguided) opinion. I would urge anyone who has any concerns over how their data may have been used by Turnitin to contact someone who actually knows what they a talking about, in this case A LAWYER!
Basically, I think Turnitin is on pretty shaky legal ground both in terms of Copyright and Privacy (certainly under US law). Here in New Zealand we have different privacy laws, but I’m sure they probably say much the same thing. The copyright issues are also concerning, I don’t want to turn over my rights to Turnitin just so I can submit my paper. What if my assignment gave technical details of an invention which I may in future have some financial interest in. Turnitin would have the right to use that information as they see fit.
Realistically I think it’s only a matter of time before Turnitin is taken to court again to face a hard examination of their user agreement, etc. This whole thing brings me back onto the subject of Free Software. I think it really is important for these tools which have such important uses to be Free (as in speech), it would be great to see a Free Network Service replace Turnitin as the dominant player in this market. I would much rather trust that to be transparent and honest than a company driven by profit and market share.
Anyway that’s just my $0.02. Before I finish I’ll encourage you all again to read Stephen’s paper.
Bye!
Well, this is my second post in as many days. Truth be told I’ve actually been giving the site a bita lovin’. I’ve had a general tidy up, added ‘more tags’ to some of the longer posts so that they don’t take up as much of the main listing page and I’ve added a new Copyright (CC) notice as well as sorted out some Google adds to try and pay for the hosting of the site (not sure how successful they’ll be though).
I’ve also been working generally on my ‘personal cloud’. I’ve put up a gallery where I can put my photos which is something I’ve wanted to do for a while. I’m using Gallery 3 (Beta 3) which is nice. I tried this a while ago with Gallery 2 and it was horibly complicated and overengineered so I gave up in the end.
The new interface is really nice, there’s come nice AJAXy stuff in there which makes it feel nice and polished – kind of like using Flickr or Facebook only with Freedom. As you may have gathered I’m not a huge Facebook fan, although I do have an account, this is mainly because of concerns over privacy and what control they have over your data (including any photos you upload). I’d rather just retain control and ownership of my data.
Anyway if you want to have a look at the gallery, click the gallery link at the top of the page (it currently uses javascript to redirect you – something which I will fix in future). I think that’s about all for now. I’m hopefully going to get back to posting some techy stuff soon, I still have a couple of things lined up I just haven’t had time to write them up yet.
Bye for now!
Sorry about this but I really have to say something about this. We had to submit an assignment yesterday via turnitin.com and it broke on me because I wasn’t using a ‘supported operating system’, I was using Ubuntu.
When I logged in I got a message warning me that it might not work, but I honestly don’t see the reason why. Shouldn’t it just be browser specific, not OS specific? I then proceeded to upload my PDF and it seemed to think it actually wasn’t a PDF! Switching to a Windows XP machine and uploading the same PDF worked fine which is the really random thing.
I don’t even see why our University has to use a third party service for this anyway, I’m sure they have the resources to do this in house. Then there is the whole copyright thing, which I’m not altogether happy with either.
Anyway, at least it seems Ubuntu isn’t alone in this, according to a friend Windows 7 also triggers the same error message (albeit without the PDF fail).
Again, sorry for the rant.
Categories
Tags
adbard Android archlinux auckland awesome bzr conference crap crunchbang debian dhcp eeepc electricity facebook Fedora foss Free Software gallery3 google google analytics identi.ca java javascript kiwi pycon launchpad linux LVM mu-feeder netboot Open Cloud photos piwik pxe python site news skepticism SwallowCatcher tftp turnitin ubuntu UoA upmotw videos wifi wordpressI Also Contribute To...
Planets I'm On

