Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Forum locked  This topic is locked, you cannot edit posts or make further replies.
Author Message
PostPosted: Sat Jun 28, 2003 1:15 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
Create a disk image, formatted to ext3 (or whatever)
Go into your config profile
Find an empty /dev/ubd* device - probably /dev/ubdc if you've got a root and a swap already. Select your new drive label from the drop-down.
Save the config
Reboot your linode

Now, inside the Linode, you can mount it like so:

mount /dev/ubd[insert device letter here] /path/to/mountpoint

/path/to/mountpoint must be an existing directory.

-Chris


Last edited by caker on Sat Nov 08, 2003 3:24 pm, edited 2 times in total.

Top
   
 Post subject:
PostPosted: Sat Jun 28, 2003 1:27 am 
Offline
Linode Staff
User avatar

Joined: Tue Apr 15, 2003 6:24 pm
Posts: 3090
Website: http://www.linode.com/
Location: Galloway, NJ
A few more commands that might be useful -

Code:
[root@nova fs]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hdc6              25G   21G  2.5G  89% /
/dev/hdc1              15M  3.6M   11M  25% /boot
/dev/hdd1              19M  3.6M   15M  19% /mnt/hddboot
/dev/hdd6              18G   17G   57M 100% /mnt/hddroot


Also, the mount command by itself will also display the existing mounted file systems...

Code:
[root@nova fs]# mount -v
/dev/hdc6 on / type ext2 (rw)
none on /proc type proc (rw)
/dev/hdc1 on /boot type ext2 (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hdd1 on /mnt/hddboot type ext2 (rw)
/dev/hdd6 on /mnt/hddroot type ext2 (rw)


If you take a look at the /proc/swaps file, it'll tell you what swaps you have:

Code:
[root@nova fs]# cat /proc/swaps 
Filename                        Type            Size    Used    Priority
/dev/hdc5                       partition       136512  0       1
/dev/hdd5                       partition       130500  84100   100


-Chris


Top
   
Display posts from previous:  Sort by  
Forum locked  This topic is locked, you cannot edit posts or make further replies.


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group