These are the steps for creating a new file system under Ubuntu 8.04 Hardy.
1) Add a disk device or create a virtual disk device if using VMWare.
2) Create a partition on the new device.
fdisk /dev/sdb
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-256, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-256, default 256):
Using default value 256
Command (m for help): p
Disk /dev/sdb: 268 MB, 268435456 bytes
64 heads, 32 sectors/track, 256 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Disk identifier: 0xfded2e28
Device Boot Start End Blocks Id System
/dev/sdb1 1 256 262128 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
3) Create the file system on the new partition. I'm using EXT3.
mkfs.ext3 -b "4096" /dev/sdb1
4) Create a directory for the disk mount point.
mkdir /opt/zimbra/index2
5) Mount the new file system and set permissions.
mount -t ext3 /dev/sdb1 /opt/zimbra/index2
chown -R zimbra:zimbra /opt/zimbra/index2
6) Switch to user Zimbra and test write
su - zimbra
touch /opt/zimbra/index2/test
ls -la /opt/zimbra/index2
rm -rf /opt/zimbra/index2/test
7) Get device UUID for /etc/fstab
ls -la /dev/disk/by-uuid
total 0
drwxr-xr-x 2 root root 120 2009-01-29 17:17 .
drwxr-xr-x 5 root root 100 2009-01-29 17:17 ..
lrwxrwxrwx 1 root root 10 2009-01-29 17:17 168bcec4-20cb-4636-ac3c-3148d7c27c1d -> ../../sdb1
lrwxrwxrwx 1 root root 31 2009-01-29 17:17 50ed2671-0712-473a-bdd7-0a2c75c6102f -> ../../mapper/ubu08.zmb.moc-root
lrwxrwxrwx 1 root root 10 2009-01-29 17:17 91ef4890-49bc-4329-9236-6ce4d429c5fe -> ../../sda1
lrwxrwxrwx 1 root root 33 2009-01-29 17:17 d13a6422-ce11-460e-8fa0-b765333d371e -> ../../mapper/ubu08.zmb.moc-swap_1
8) Edit /etc/fstab
# /etc/fstab: static file system information.
#
#
proc /proc proc defaults 0 0
# /dev/mapper/ubu08.zmb.moc-root
UUID=50ed2671-0712-473a-bdd7-0a2c75c6102f / ext3 relatime,errors=remount-ro 0 1
# /dev/sda1
UUID=91ef4890-49bc-4329-9236-6ce4d429c5fe /boot ext3 relatime 0 2
# /dev/sdb1
UUID=168bcec4-20cb-4636-ac3c-3148d7c27c1d /opt/zimbra/index2 ext3 relatime 0 2
# /dev/mapper/ubu08.zmb.moc-swap_1
UUID=d13a6422-ce11-460e-8fa0-b765333d371e none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
References
https://help.ubuntu.com/community/Fstab
http://ubuntuforums.org/printthread.php?t=283131
- admin's blog
- Login or register to post comments
Valium
csEplks Valium Phentermine Ambien Cialis Cheap Xanax Buy Ativan
Cheap Xanax
PHQPBei Cheap Xanax Buy Phentermine Cialis Cheap Valium Buy Tramadol Cheap Ambien
Valium
sDLVRPc Valium Buy Ativan Xanax Viagra Ambien Phentermine
Buy Xanax
IkvfzX Buy Xanax Cheapest Cialis Cheap Tramadol Cheap Ambien Cheap Valium Phentermine
Cheap Xanax
UgRprD Cheap Xanax Buy Ativan Buy Phentermine Buy Viagra online Cheap Ambien Valium
Cheap Valium
aRJyec Cheap Valium Cigarettes Buy Xanax Viagra Ambien Buy Phentermine
Services
This medication deals only sure cases of infections. It will not function bactrim effects on for virus infections e.g., flu. Unnecessary function or misuse of any antibiotic can conduct to its decreased effectiveness.
Buy Xanax
HLCeYR Buy Xanax Cheap Cigarettes Phentermine Buy Tramadol Valium Ativan
Buy Valium
cGImvRAc Buy Valium Cheap Ativan Buy Ambien Cialis Buy Viagra online
Buy Phentermine
msnfRnU Buy Phentermine Cheap Xanax Buy Cialis Buy Ativan Ultram
Cheap Phentermine
ThZHms Cheap Phentermine Xanax Ativan Cialis Cheap viagra Buy Ambien
Services
Do not drinking boozer beverages while taking Flagyl. The combination can do ab buy flagyl halters, nausea, sicking, worries, and blushing. It can also exchange the taste of the alky beverage.
Services
VPXL will gain the content set of the Corpora Cavernosa thus leaving more ancestry to recruit buy vpxl the cavern producing a longer and stockier erection. VPXL makes cell growth within the principals cavernous itself.
Buy Valium
wrBttF Buy Valium Cialis Cheap viagra Viagra Ativan
Valium
qBJfyiIS Valium Buy Ambien Cheap Xanax Tramadol Cheap Phentermine
Services
Have this medicine by speak with a total trash of H2O. Comply the pregnancy ampicillin guidances on the prescription mark. Accept this medicine on an abandon suffer, at least 30 minutes before or 2 hours after food.
Services
Choose this medicament by speak with a total shabu of water. Comply the dose ampicillin guidances on the prescription mark. Choose this medicine on an abandon stomach, at least 30 instants ahead or 2 hours after food.
Services
Take this medicine by speak with a total trash of H2O. Comply the dose ampicillin directions on the prescription tag. Accept this medicine on an empty suffer, at least 30 instants earlier or 2 hours after food.
Services
Use this medicine by mouth with a full shabu of water. Follow the dose ampicillin ways on the prescription label. Take this medicine on an empty stomach, at least 30 instants before or 2 hours after grub.
Services
Accept this medicament by mouth with a spyglass of water. Adopt the ways on your prescription tablets amoxil judge. You may accept this medicine with solid food or on an empty suffer. Take your medicate at regular intervals.
Services
Rabeprazole is used for dealing ulcerations of the buy aciphex online belly and duodenum, erosive or ulcerate gastroesophageal reflux disease GERD and Zymotic-Ellison Complex in which there is overrun of acid induced by tumors.
Services
Radio emission is applied for covering ulcers of the buy aciphex online endure and duodenum, erosive or ulcerative gastroesophageal reflux disease GERD and Zymosis-Ellison Composite in which there is overproduction of bitter caused by tumors.
Services
This drug can case dangerous possibly fatal harm to an unborn babe if used during gestation. Hence, it is crucial accupril generic to prevent pregnancy while assuming this medication. Look up your dr for more points and to talk about the purpose of authentic grades of birth control.
Services
This drug can have good possibly fatal harm to an unborn baby if used during pregnancy. Therefore, it is crucial buy accupril online to prevent pregnancy while assuming this medication. Consult your dr for more points and to talk about the purpose of reliable grades of birth control.
Services
There are many early medicines that can act with Zithromax. Tell your doctor about all the prescription drug and over-the-counter prescription zithromax medicaments you use. This includes vitamins, minerals, herbal products, and drugs prescribed by other doctors. Do not beginning using a new medication without.
Services
Atenolol can get slope impressions that may impair your believing or responses. Be heedful if you drive or do anything that wants information tenormin you to be wake up and alerting. Avoid drinking alcohol, which could gain drowsiness and dizziness while you are assuming Tenormin.
Services
Do not use singular to handle an asthma attack that has already begun. It will not function singulair tablets quick plenty to turn your symptoms. Apply only a quick-acting inhalation medicament to deal an asthma attack..
Buy Cialis
MJpsKLqD Buy Cialis Cheap Klonopin Xanax Cheap Tramadol Buy Valium
Viagra
FXMRTG Viagra Viagra Phentermine Cialis Cialis Cialis
Cheap Valium
AEitqCa Cheap Valium Ativan Phentermine Buy Viagra Xanax Ambien
Buy Phentermine
nMdLrET Buy Phentermine Cheapest Cialis Buy Xanax Ambien Valium Cheap Ativan
Ambien
feAxmgoI Ambien Buy Cialis Online Cheap Phentermine Cheap Valium Ativan Cheap Xanax
ViVPkLO
KCdzEuIG ViVPkLO