Sponsored Content
Full Discussion: Using fdisk in scripts
Top Forums UNIX for Dummies Questions & Answers Using fdisk in scripts Post 62080 by Frank_a on Friday 11th of February 2005 07:51:27 AM
Old 02-11-2005
Using fdisk in scripts

Hi !

I need to create large amount of portions for database in Linux. Untill now I've used fdisk for manual creation of chunks and changing thei? file system type. Now I want to write script for create them automatically.

I think I'm not the first who deal with that problem!

Thank you for your answers!
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

(c)fdisk and RedHat 7.2

I recently installed RedHat 7.2, and cannot find any tools to partition the disks other than during the install. I did a find from / for fdisk and cfdisk, neither turned up. I looked in the RPM directories on the CD's, again no good. What rpm contains a partition management tool? (1 Reply)
Discussion started by: 98_1LE
1 Replies

2. Solaris

using fdisk

how do i know my disk partion using fdisk (4 Replies)
Discussion started by: seyiisq
4 Replies

3. Red Hat

FDISK problems

OS= Fedora 10 I have a secondary 250GB disk of which I created a 50G partition on to try and set-up an LFS system. I finished with the LFS system and now I want to destroy the partition and reclaim all of the 250GB. So i simply ran fdisk /dev/sdb and deleted the 2 Linux partitions ( one 83 and... (2 Replies)
Discussion started by: woodson2
2 Replies

4. Shell Programming and Scripting

HEREDOC with fdisk

Hi folks What I'm trying is to build a partitioning script. I can pass a HEREDOC to fdisk just fine. Like this: fdisk /dev/sda << EOF p q EOF but I don't know how to put that HEREDOC into a varible to pass it to fdisk. This is what I have tried so far (no luck) #!/bin/bash ... (3 Replies)
Discussion started by: latenite
3 Replies

5. UNIX for Dummies Questions & Answers

Fdisk v/s parted

Just started understanding linux filesystem and partition utilities. I was going though some video tutorials by CBT nuggets and the author was cursing fdisk as fuzzy tool and recommending to use parted instead. In our job environment i have seen almost every one using fdisk utility for... (1 Reply)
Discussion started by: pinga123
1 Replies

6. Solaris

what is the fdisk -l command of SUN

I use fdisk -l command to see the attached hard disk drives in rhel5 and cntos 5.5 what is the same command for sun 5.9 (4 Replies)
Discussion started by: z_haseeb
4 Replies

7. Solaris

fdisk

Hi All, fdisk -l in linux equals in fdisk option in Solaris Thanks.......... (2 Replies)
Discussion started by: pvkarthykeyan
2 Replies

8. UNIX for Dummies Questions & Answers

Analyse this fdisk -l

Hi, Someone please analyse the following o/p of fdisk -l and tell me what it means for /dev/sda, /dev/sdb, /dev/sdc .... Disk /dev/sda: 53.6 GB, 53687091200 bytes 255 heads, 63 sectors/track, 6527 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start ... (5 Replies)
Discussion started by: stunn3r
5 Replies

9. BSD

OpenBSD fdisk - Linux fdisk compatibility ?

Hello, MBR partition table made by linux fdisk looks certainly not correct when printed by openbsd fdisk: Partition table created on linux (centos 6.3): # fdisk -l /dev/sdc Disk /dev/sdc: 10.7 GB, 10737418240 bytes 255 heads, 63 sectors/track, 1305 cylinders Units = cylinders of 16065 *... (2 Replies)
Discussion started by: vilius
2 Replies

10. Red Hat

Recover vg and lg after running fdisk

run fdisk on a vg with a few lvs , and label it as 8e..and reboot the system.. I wonder if there is still a way to recover the data at all:confused::rolleyes: (2 Replies)
Discussion started by: ppchu99
2 Replies
biomaj(1)							   USER COMMANDS							 biomaj(1)

NAME
biomaj - downloads and transform remote biological data banks SYNOPSIS
biomaj [-h] DESCRIPTION
BioMAJ (BIOlogie Mise A Jour) is a workflow engine dedicated to data synchronization and processing.The Software automates the update cycle and the supervision of the locally mirrored databank repository. User must have roots rights to run biomaj. OPTIONS
-h display the list of commands. INSTALL
At installation, BioMAJ requires a database to run (MySQL), installer should first create a database (biomaj_log) and a database user (the one used at installation setup). The database configuration for biomaj can be set or modified in /etc/biomaj/db_properties/global.properties. In the install fails due to a SQL error, the install script must be manually run to create/upgrade the database: perl /usr/share/biomaj/sql/migration/update.pl The script will create/upgrade the database and update the configuration files. ADMIN USER
A default admin user (admin) is created by the scripts. If using the biomaj-watcher, the default password (admin) MUST be changed immedi- atly via the watcher interface. If only biomaj core is used, password is useless. .PP UPGRADE
In the case of a package upgrade, if properly configured, the migration scripts will be ran automatically at install. It is possible to run manually the script: .B See perl /usr/share/biomaj/sql/migration/update.pl -h for usage. DATA BANKS
By default, biomaj is configured (data.dir in global.properties) to write banks to /var/lib/biomaj. EXAMPLES
Update a bank: biomaj --update genbank Show console biomaj --update genbank --console Show status: biomaj --status EXIT STATUS
biomaj returns a zero exist status if it succeeds, it does not represent the bank update status. AUTHOR
Olivier Sallou (olivier.sallou (at) irisa.fr) Romaric Sabas (romaric.sabas (at) irisa.fr) version 1.2.0 September 14, 2011 biomaj(1)
All times are GMT -4. The time now is 12:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy